Forum: Ruby on Rails NB 6.5, OS/X, Rails Gem Version error

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Elmo (Guest)
on 2009-02-11 11:00
(Received via mailing list)
I am getting the following error message when I attempt to start

Missing the Rails 2.1.1 gem. Please `gem install -v=2.1.1 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 tried commenting out the RAILS_GEM_VERSION and it doesn't do
_anything_ at all. The problem is that I can start the application via
the command line just fine. I am not using jRuby, but instead compiled
and installed my own version of Ruby, Gem, and Rails into /usr/local/
and am using that pathing for all the tools (at least on commandline -
I don't know if Netbeans is ignoring the PATH).

On my Linux box the same source tree works fine and runs WEBRick. I
saw the following message in this google group, BUT where is ruby2/
rake_tasks_info.rb I only have an executable file on the Mac:
on 2009-02-11 12:30
(Received via mailing list)
Do as the error tells you to
You need to install a specific version of rails...version 2.1.1

This is done by:
gem install -v=2.1.1 rails

This topic is locked and can not be replied to.