Heroku / Bundler / Push问题:在任何来源中都找不到rake-0.8.7

时间:2011-03-09 17:15:40

标签: ruby-on-rails rubygems heroku bundler git-push

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

-----> 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。

1 个答案:

答案 0 :(得分:1)

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