root@castor-laptop:/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.
Also, can you not only look at the Ruby platform (which the flickr
picture showed), but to right click on your project and open the
Properties dialog, and see/confirm that the project is using this
platform? You can have multiple platforms available, and each project
is assigned one of them (this is assigned when you create the project,
there’s a combobox).
It sounds like you may be using JRuby instead of native ruby for this
project.
In any case, it may be worth to post to the Netbeans Ruby users forum in
case this or Eric H.'s suggestion don’t help.