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.
The rails console ('ruby script/console') can be loaded with a different environment parameter passed with it so that you can work with data in that particular environment ie: 'ruby script/console production' Which would load the appropriate production environment configuration files etc. Maybe just have it so that on the Rails console option in the menu, have it branch out with the different environments based on the files inside of the 'app/config/environments' directory?
Reassigning this issue to newly created 'ruby' component.
I changed the rails console action to use the environment specified in the project properties. I didn't add the envs as a submenu as it would make the action inconsistent with the rest of the actions that take an env as a parameter, such as the run action. I actually think that it could be a good idea, but that needs to be considered still and then implemented in a consistent manner for all actions to keep the UI uniform. Hopefully this helps a bit at least. Thanks for reporting!
The related changeset is http://hg.netbeans.org/main/rev/410c1d63785a.