Heroku的推送失败

问题描述:

当我推到Heroku的,它告诉我,它无法安装具有捆绑宝石,然后失败:Heroku的推送失败

Git error: command `git fetch --force --quiet --tags '[email protected]:holgersindbaek/streama.git' "refs/heads/*:refs/heads/*"` in directory /tmp/build_2e6gwsce8rtbt/vendor/bundle/ruby/1.9.1/cache/bundler/git/streama-bb31e974eacf3e56d77c4899ae1e3687c8245251 has failed. 
      If this error persists you could try removing the cache directory '/tmp/build_2e6gwsce8rtbt/vendor/bundle/ruby/1.9.1/cache/bundler/git/streama-bb31e974eacf3e56d77c4899ae1e3687c8245251' 
    ! 
    !  Failed to install gems via Bundler. 
    ! 
    !  Heroku push rejected, failed to compile Ruby/rails app 

    To [email protected]:afternoon-spring-7047.git 
    ! [remote rejected] master -> master (pre-receive hook declined) 
    error: failed to push some refs to '[email protected]:afternoon-spring-7047.git' 

这表明,我删除了流蔡斯,但我不知道那里是。

有没有人试过这个?

我在Rails 3.2.2上用Mongoid运行MongoDB。

UPDATE:

我使用Ruby 1.9.3,所以我认为这是一个1.9.1的文件夹有点滑稽它指向我。不知道这与它有什么关系?

您使用的是专用的git链接,该资源库:

[email protected] 

而不是:

git://github.com... 

因为Heroku的外壳不被授权 “私下” 克隆是GitHub的仓库,试图在Heroku上运行bundle install将失败。将该链接更改为公共克隆URL。

+0

工作。非常感谢。这很有趣,虽然...我有另一个宝石,我正在使用私人存储库,并且工作正常。 – 2012-08-07 06:32:19