Pablo, I've noticed a similar problem with 6.5M and 6.5Beta. My problem turned out to be a NetBeans call to Rake that was failing. I've filed with Sun-NetBeansDev, issue 149201.
My problem was in NetBeans source ruby2/rake_tasks_info.rb. On line 9 of that file is a call to "do_option" method on rake. This method appears to exist in rake v0.7.? but not in v0.8.? and rake v0.8.3 is the one that's currently shipping. I just commented out line 9 in the NB file and all (appears to) work fine. You might want to turn on your IDE logging and check that you're having the same (rake failure) problem as without the log the info reported leads you to believe you have a different (bigger) problem. Rick On Oct 8, 9:47 am, "Pablo Q." <[EMAIL PROTECTED]> wrote: > I'm on ubuntu 8.04 and I'm using netbeans 6.1 with native ruby option. > > [EMAIL PROTECTED]:/home/castor# gem --version > 1.3.0 > [EMAIL PROTECTED]:/home/castor# ruby --version > ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux] > > I'm able to run scripts/console from command: > > [EMAIL PROTECTED]:/home/castor/projects/Aflus# script/console > Loading development environment (Rails 2.1.1) > > > > but when I try to run the same from netbeans rails console I get this: > > Missing the Rails gem. Please `gem install -v= rails`, update your > RAILS_GEM_VERSION setting in config/environment.rb for the Rails version > you do have installed, or comment out RAILS_GEM_VERSION to use the > latest version installed. > > I checked the configuration of the ruby platform and it looks fine.... > > Any idea? > > -- > Pablo Q. > > Attachments:http://www.ruby-forum.com/attachment/2789/Screenshot-Ruby_Platform_Ma... > > -- > Posted viahttp://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

