Rails首次运行错误

时间:2011-12-14 11:06:20

标签: ruby-on-rails rubygems

我已经开始使用基础教程(是的,我很新..) 我在尝试运行“rails db:create”

时遇到错误
could not find activesupport-3.1.2.rc2 in any of the sources
run 'bundle install' to install

我已经尝试安装所有捆绑包和特定的gem(并获得:“无法获得有效的gem”)并且我仍然收到此错误。

任何想法?

1 个答案:

答案 0 :(得分:0)

您可能正在使用未与bundler一起安装的版本(您实际运行rake db:create吗?)请尝试使用以下内容:

bundle exec rake db:create
相关问题