我想第一次將應用程序部署到heroku,並且出現以下錯誤。 heroku上的寶石列表包括這個版本的bson寶石,我的寶石文件包括頂部的source 'http://rubygems.org'
。任何人都可以提出爲什麼沒有找到寶石?heroku依賴失敗
-----> Heroku receiving push
-----> Ruby/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 bson-1.4.1 in any of the sources
FAILED: http://devcenter.heroku.com/articles/bundler
! Heroku push rejected, failed to install gems via Bundler
感謝 - 這回答了這個問題 - 但提出了另外一個,我會問單獨 – chrispanda
@chrispanda:拒絕你編輯,因爲你應該添加它作爲其他答案 – CharlesB