I fixed this on my machine as follows: The boot.rb file is the one that was generating this message, in a method called 'load_rails_gem'. If you print the value of the variable 'load_error' it will give you a specific error message as to why the gem wouldn't load. In my case, it was a mismatched version of rack; I installed a down-revision and everything worked.
-Richard. On Jul 7, 12:01 pm, Sam Kong <[email protected]> wrote: > Leonardo Mateo wrote: > > On Wed, Jul 7, 2010 at 7:21 AM, Sam Kong <[email protected]> wrote: > >> Could notfindgem'rails(= 3.0.0.beta4, runtime)' in the gems > >> PassengerRuby /Users/ssk/.rvm/rubies/ruby-1.8.7-p299/bin/ruby > > >> Whycan'tpassengerfindrails? > > > How did you installedpassenger? I think you must install it using > > rvmsudo if you're using RVM: > > rvmsudopassenger-install-apache2-module > > > Take a look at this: > >http://rvm.beginrescueend.com/integration/passenger/ > > Yes, I used rvmsudo. > > Thank you. > > Sam > > > > > > > > >> - RUBY VERSION: 1.8.7 (2010-06-23 patchlevel 299) [i686-darwin10.0.0] > >> -GEMCONFIGURATION: > > >> erubis (2.6.6) > >> rack-test (0.5.4) > >>rails(3.0.0.beta4) > >> railties (3.0.0.beta4) > >> rake (0.8.7) > >> rdoc (2.5.8) > >> text-format (1.0.0) > >> text-hyphen (1.0.0) > >> thor (0.13.7) > >> treetop (1.4.8) > >> tzinfo (0.3.22) > >> -- > > > -- > > Leonardo Mateo. > > There's no place like ~ > > -- > Posted viahttp://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

