Phusion not loading gems

29 views
Skip to first unread message

tspore

unread,
Nov 22, 2009, 5:47:16 PM11/22/09
to Phusion Passenger Discussions
I am running OS X 10.6.2, .RVM .57, Ruby 1.9.1, and Rails 2.3.4 and
I have using mongrel the server running but I think for the my
operating environment I want to use Passenger. But when I load the
file with Passenger it doesn't load the gems
So I am obviously missing something but not really sure what -
I also have in the httpd conf file loading the module, and passenger
pref loaded. It will load the main page, but not the rails app.
Thanks for the help.





The application has exited during startup (i.e. during the evaluation
of config/environment.rb). The error message can be found below. To
solve this problem, please follow any instructions in the error
message.
Error message:
Missing the Rails 2.3.4 gem. Please `gem install -v=2.3.4 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.
Application root:
/Users/tspore/Rails/test
Backtrace:
# File Line Location
0 /Users/tspore/Rails/test/config/boot.rb 66 in `exit'
1 /Users/tspore/Rails/test/config/boot.rb 66 in `rescue in
load_rails_gem'
2 /Users/tspore/Rails/test/config/boot.rb 59 in `load_rails_gem'
3 /Users/tspore/Rails/test/config/boot.rb 54 in `load_initializer'
4 /Users/tspore/Rails/test/config/boot.rb 38 in `run'
5 /Users/tspore/Rails/test/config/boot.rb 11 in `boot!'
6 /Users/tspore/Rails/test/config/boot.rb 110 in `'
7 /Users/tspore/Rails/test/config/environment.rb 7 in `require'
8 /Users/tspore/Rails/test/config/environment.rb 7 in `'
9 /Users/tspore/.rvm/gems/ruby/1.9.1/gems/passenger-2.2.7/lib/
phusion_passenger/railz/application_spawner.rb 299 in `require'
10 /Users/tspore/.rvm/gems/ruby/1.9.1/gems/passenger-
......
Reply all
Reply to author
Forward
0 new messages