我正在尝试在Rails中启动一个新项目,但我不断收到以下错误:
/Library/Ruby/Site/1.8/rubygems/dependency.rb:247:in `to_specs': Could not find railties (>= 0) amongst [] (Gem::LoadError)
from /Library/Ruby/Site/1.8/rubygems/dependency.rb:256:in `to_spec'
from /Library/Ruby/Site/1.8/rubygems.rb:1210:in `gem'
from /usr/bin/rails:18
我该怎么做才能解决这个问题?
答案 0 :(得分:5)
试试这个:
sudo gem install railties