After installing Rails 3, RVM and Ruby 1.9.2, I've been having trouble running this Rails 2.3.8 app.
necromancer@factory$ script/server
./script/../config/boot.rb:5: uninitialized constant Rails (NameError)
from script/server:2:in `require'
from script/server:2
After running gem which rails
, I got the following path:
/Users/necromancer/.rvm/gems/ruby-1.8.7-p302/gems/railties-3.0.0/lib/rails.rb
So I uninstalled railties-3.0.0 and ran gem install rails
Now, gem which rails
throws the following error:
ERROR: Can't find ruby library file or shared library rails
I also tried uninstalling rails 2.3.8 and running bundle install
within my app. Then I tried to gem uninstall rails
and gem install rails -v=2.3.8
, and while the rails binary still works, gem which rails
still throws this error. I think it may be the source of my problem...how do I get this to point to rails 2.3.8 on my rvm 1.8.7 gemset??