我正在嘗試將我的RoR 3.1.0.beta1項目從我的Git存儲庫推到Heroku,像往常一樣使用以下命令: git push heroku master
Heroku推送錯誤:「在任何來源的鏈輪-2.0.0.beta.2」
但我收到以下錯誤:
-----> 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'
鏈輪版本2.0.0.beta.2存在,因爲我一直在拉不同的版本包括取決於此版本。有什麼我在這裏失蹤?
感謝
沒有這三個答案的爲你工作? – oliverbarnes