我正在尝试开始一个新的 Rails 项目,但我遇到了一个非常奇怪的错误。当我做:
rails new my_project
我收到一个错误:
/usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rubygems.rb:314:in `bin_path': can't find gem rails ([">= 0"]) with executable rails (Gem::GemNotFoundException)
from /usr/bin/rails:19:in `<main>'
我应该怎么做才能开始一个新项目?