开发者

ROR3 'Rails Server' Error

I took a break away from a ROR3 project and came back to it after a few months. I ran the MacPorts update and then 'Rails Server' to kick things off and am getting this error. I then ran 'bundle install' as it looks like a Gem issue and the same error message came up. Can anyone shed any light on why it is happening now and a possible solution?

user$ rails console
/opt/local/lib/ruby1.9/1.9.1/rubygems.rb:762:in `report_activate_error': Could not find RubyGem rails (>= 0) (Gem::LoadError)
  from /opt/local/lib/ruby1.9/1.9.1/rubygems.rb:219:in `activate'
  from /opt/local/lib/ruby1.9/1.9.1/rubygems.rb:1065:in `gem'
  from /opt/l开发者_开发百科ocal/bin/rails:18:in `<main>'
user$ 


With Time Machine installed I was able to drop the 'local' folder from when I knew Ruby On Rails was last working and everything is now fine again. MacPorts users beware and think about installing RVM as suggested!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜