0

对于我的生活,我无法弄清楚如何解决这个问题。我环顾了一整天,发现了类似的问题,但它们似乎都略有不同。

-----> Heroku receiving push
-----> Rails app detected
-----> 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
   Your Gemfile doesn't have any sources. You can add one with a line like 'source:rubygems'
   Could not find rake-0.8.7 in any of the sources
   FAILED: http://docs.heroku.com/bundler
!     Heroku push rejected, failed to install gems via Bundler

error: hooks/pre-receive exited with error code 1
To git@heroku.com:smooth-wind-620.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:

捆绑安装和捆绑列表都列出了 rake。

4

1 回答 1

1

您是否尝试过source 'http://rubygems.org'在 Gemfile 的顶部添加类似的内容,或者source :gemcutter?这是我看到 heroku 给你的第一个错误,也是我要尝试解决的第一件事。

于 2011-03-09T17:22:12.790 回答