我正在尝试像往常一样使用以下命令将我的 RoR 3.1.0.beta1 项目从我的 Git 存储库推送到 Heroku:
git push heroku master
但我收到以下错误:
-----> Heroku receiving push
-----> Rails app detected
-----> Detected Rails is not set to serve static_assets
Installing rails3_serve_static_assets... done
-----> Configure Rails 3 to disable x-sendfile
Installing rails3_disable_x_sendfile... done
-----> Configure Rails to log to stdout
Installing rails_log_stdout... done
-----> Gemfile detected, running Bundler version 1.0.7
Unresolved dependencies detected; Installing...
Using --without development:test
Fetching source index for http://rubygems.org/
Could not find sprockets-2.0.0.beta.2 in any of the sources
FAILED: http://devcenter.heroku.com/articles/bundler
! Heroku push rejected, failed to install gems via Bundler
我的 Gemfile 有这一行:
gem 'sprockets', '2.0.0.beta.2'
Sprockets 版本 2.0.0.beta.2 存在是因为我一直在拉不同的版本,包括这个版本。我在这里缺少什么吗?
谢谢