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.
A user wrote to me that when they run the 6.1 Generator and pick Scaffold from the drop-down, they are not seeing the Rails 2.1 prompts of Model Name/Attribute Pairs, but instead Model Name/Controller Name/Actions. In the environment.rb, the statement is as follows: RAILS_GEM_VERSION = '2.1.0' unless defined? RAILS_GEM_VERSION RAILS_GEM_VERSION is not set. This happens when using their MRI Ruby installation (1.8.6-p114) In the Gems manager, the rails version displayed in the Installed tab is 2.1.0, 1.2.6 When they create a new Ruby on Rails Application, step 4 in the Wizard dialog (Install Rails) displays: "Rails appears to be installed." and the Installed version is set to *1.2.6.* If they click on the Update Rails button, the following status appears: Updating installed gems HEAD 200 OK: http://gems.rubyforge.org/latest_specs.4.8 Nothing to update They tried setting RAILS_GEM_VERSION to 2.1.0 but that did not help. Is there a way to get the IDE to display the Rails 2.1 generator prompts without having to uninstall 1.2.6?
Actually this should work already, and works for me at least. I misunderstood the problem when you first posted this to the dev@ruby mailing list. Do they possibly have the 1.2.6 version installed in vendor/? That would cause the generator to show the 1.2.6 dialog.
Without requested information for long time - INVALID. We can't do anything in this case. Reporter, please add requested information and reopen issue. Thanks in advance.