问题
I'm deploying to Ubuntu slice on slicehost, using Rails 2.1.0 (from gem
)
If I try mongrel_rails
start or script/server I get this error:
Rails requires RubyGems >= 0.9.4. Please install RubyGems
When I type gem -v
I have version 1.2.0
installed. Any quick tips on what to look at to fix?
回答1:
Have you tried reinstalling RubyGems? I had a pretty similar error message until I reuninstalled and for some reason, it installed into a different directory and then the problem went away.
回答2:
Just finally found this answer... I was missing a gem, and thrown off by bad error message from Rails...
来源:https://stackoverflow.com/questions/29382/rails-requires-rubygems-0-9-4-please-install-rubygems