Rails requires RubyGems >= 0.9.4. Please install RubyGems

蓝咒 提交于 2019-12-11 15:43:47

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!