我刚刚制作了一个新的 Rails 应用程序(Rails v3.2.8)并尝试rake db:migrate
使用一次迁移运行,但我总是收到此错误:
Could not find coffee-script-source-1.3.3 in any of the sources
Run `bundle install` to install missing gems.
但是,当我运行时bundle install
,它表明 coffee-script-source-1.3.3 已经安装:
Using rake (0.9.2.2)
Using i18n (0.6.1)
Using multi_json (1.3.6)
....
Using coffee-script-source (1.3.3)
...
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
有任何想法吗?如果有帮助,我也在运行ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin12.1.0]
,我通过安装brew install ruby
编辑:我没有使用 rvm