【问题标题】:Heroku / Bundler / Push issue: Could not find rake-0.8.7 in any of the sourcesHeroku / Bundler / Push 问题:在任何来源中都找不到 rake-0.8.7
【发布时间】:2011-07-12 02:18:23
【问题描述】:

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

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

【问题讨论】:

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


    【解决方案1】:

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

    【讨论】:

    • 好的.. 我要感谢你,并因为没有看到这个问题而自责。
    猜你喜欢
    • 2012-04-19
    • 1970-01-01
    • 2017-07-18
    • 2011-12-24
    • 1970-01-01
    • 1970-01-01
    • 2018-04-08
    • 2015-03-04
    • 2014-07-11
    相关资源
    最近更新 更多