This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I've recently been trying to learn Ruby on Rails and have been encountering problems with my installation of Netbeans on Ubuntu-eee. I've assured that ruby, gems, and rails are all working properly on my system (used them on the command line to do everything I'm trying to do through Netbeans). I've uninstalled and reinstalled all components of RoR and re-tested on the command line. When I try to create or edit a RoR project in NetBeans, I receive the error message: Rails requires RubyGems >= 1.3.2 (you have 1.3.1). Please `gem update --system` and try again. Gem is currently at version 1.3.5 from a manual download and installation and I am using NetBeans version 6.7.1. Gem Home in Tools> Ruby Gems is listed as "/var/lib/gems/1.8" and Ruby Platform is listed as "Ruby 1.8.6 p-111"
Hello, thanks for the report. Can you please turn on detailed logging (http://wiki.netbeans.org/FaqRubyNBLogging67), try to create a rails project again and attach the log here then?
Created attachment 91460 [details] IDE log of process and error I am using Window Vista, but have replicated the bug reported as shown in the attached log. I updated via the Gems Manager to 1.3.5, restarted the IDE and then created a new Rails project and received the error.
Sorry for the delay on this. Looking at the log it looks like you're running the app on the bundled JRuby, did you make sure you updated RubyGems for that platform? I.e. not for any other Ruby installation you might have, such as MRI (just running gem update --system would by default update RubyGems for the MRI platform). To update RubyGems for the bundled JRuby, you need to run: J:\NetBeans 6.7.1\ruby2\jruby-1.2.0\bin\jruby -S gem update --system Of course the best would be if one could do that directly from the IDE, and in fact there is an RFE for that already. Also, due to #182168, after updating RubyGems from the command line you may want to remove and re-add the platform in question in the Ruby Platform Manager (otherwise it will report a wrong RubyGems version for the platform). Let us know if that doesn't help - thanks.