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:

Bundle install と bundle list の両方に rake がリストされています。

4

1 に答える 1

1

source 'http://rubygems.org'Gemfile の先頭に次のようなものを追加しようとしましたかsource :gemcutter? これは、heroku が表示する最初のエラーであり、最初に解決しようとするものです。

于 2011-03-09T17:22:12.790 に答える