我想第一次将应用程序部署到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