FreeRIDE Corrupted by Rails?

Discussion in 'Ruby' started by jzakiya@mail.com, Apr 6, 2006.

  1. Guest

    Last week I upgraded to Rails 1.1 using gem. Since then, I have been
    unable
    to run FreeRIDE 0.95. Below is the error output generated when
    attempting
    to run FreeRIDE 0.95. However, I am still able to run FreeRIDE 0.94
    with no
    problems. So, apparently the Rails 1.1 upgrade (with dependicies)
    corrupted
    something FR 0.95 uses but FR 0.94 doesn't.

    Can anybody figure out what the problem is, our what other diagnostics
    I should
    perform to track the problem down?

    Jabari
    ----------------------------------------------------------------------------------------------------
    [jabari@localhost Ruby Stuff]$ /usr/local/FreeRIDE/freeride
    /home/jabari/Ruby Stuff
    /usr/local/FreeRIDE/./plugins/rubyide_project/project.rb:80:in
    `attach_editpane`: undefined method `[]'
    for nil:NilClass (NoMethodError)
    from
    /usr/local/FreeRIDE/./plugins/rubyide_project/project.rb:97:in
    `reopen_files'
    from
    /usr/local/FreeRIDE/./plugins/rubyide_project/project.rb:95:in
    `reopen_files'
    from
    /usr/local/FreeRIDE/./plugins/rubyide_project/project.rb:54:in
    `initialize'
    from
    /usr/local/FreeRIDE/./plugins/rubyide_project/project_manager.rb:82:in
    `open_project'
    from
    /usr/local/FreeRIDE/./plugins/rubyide_project/project_manager.rb:152:in
    `open_default_project'
    from
    /usr/local/FreeRIDE/./plugins/rubyide_project/project_manager.rb:47:in
    `initialize'
    from
    /usr/local/FreeRIDE/freebase/lib/freebase/databus.rb:612:in `notify'
    from
    /usr/local/FreeRIDE/freebase/lib/freebase/databus.rb:609:in `notify'
    from
    /usr/local/FreeRIDE/freebase/lib/freebase/databus.rb:385:in `data='
    from
    /usr/local/FreeRIDE/freebase/lib/freebase/core.rb:66:in `initialize'
    from
    /usr/local/FreeRIDE/freebase/lib/freebase/core.rb:35:in `startup'
    from /usr/local/FreeRIDE/freeride.rb:77:in `startup'
    from /usr/local/FreeRIDE/freeride.rb:116
    [jabari@localhost Ruby Stuff]$
     
    , Apr 6, 2006
    #1
    1. Advertising

  2. Phil Duby Guest

    <> wrote in message
    news:...
    > Last week I upgraded to Rails 1.1 using gem. Since then, I have been
    > unable
    > to run FreeRIDE 0.95. Below is the error output generated when
    > attempting
    > to run FreeRIDE 0.95. However, I am still able to run FreeRIDE 0.94
    > with no
    > problems. So, apparently the Rails 1.1 upgrade (with dependicies)
    > corrupted
    > something FR 0.95 uses but FR 0.94 doesn't.
    >
    > Can anybody figure out what the problem is, our what other diagnostics
    > I should
    > perform to track the problem down?
    >
    > Jabari
    > ----------------------------------------------------------------------------------------------------
    > [jabari@localhost Ruby Stuff]$ /usr/local/FreeRIDE/freeride
    > /home/jabari/Ruby Stuff
    > /usr/local/FreeRIDE/./plugins/rubyide_project/project.rb:80:in
    > `attach_editpane`: undefined method `[]'

    [ snip .. snip ]

    The problem probably has nothing to do with either rails of the
    specific FR version. I got the same error after running FR 0.9.5
    for awhile. It broke without any specific new install. It appears
    to be from corruption of the project / property / configuration files.

    See:
    http://rubyforge.org/tracker/?func=detail&atid=202&aid=3558&group_id=31

    An interm fix that worked for me is:

    in ...\ruby\freeride\plugins\rubyide_project\project.rb
    # $Id: project.rb,v 1.6 2005/12/16 11:11:40 jonathanm Exp $
    line 97
    change
    attach_editpane(ep_slot)
    to
    attach_editpane(ep_slot) unless ep_slot.nil?

    The tracker page shows that Jonathan fixed the problem in the CVS, but
    I have not looked to see if his fix was the same as mine.

    --
    Phil
    remove all of the (at)'s to send email
     
    Phil Duby, Apr 7, 2006
    #2
    1. Advertising

  3. Guest

    Thanks alot Phil, that solved the problem.

    jabari
     
    , Apr 7, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Curt Hibbs
    Replies:
    7
    Views:
    119
    Joey Gibson
    Nov 17, 2003
  2. Jonathan Edwards

    Mirror for FreeRIDE?

    Jonathan Edwards, Dec 13, 2003, in forum: Ruby
    Replies:
    2
    Views:
    113
    Josef 'Jupp' SCHUGT
    Dec 13, 2003
  3. Laurent Julliard

    FreeRIDE project moved to RubyForge

    Laurent Julliard, Dec 18, 2003, in forum: Ruby
    Replies:
    2
    Views:
    137
    Tom Copeland
    Dec 23, 2003
  4. Daniel Völkerts

    FreeRide and Rails

    Daniel Völkerts, Mar 5, 2006, in forum: Ruby
    Replies:
    1
    Views:
    115
    Jonathan Maasland
    Mar 6, 2006
  5. Phlip

    FreeRIDE vs Rails

    Phlip, Aug 7, 2007, in forum: Ruby
    Replies:
    5
    Views:
    119
    John Joyce
    Aug 7, 2007
Loading...

Share This Page