Ruby on rails Heroku推送失败
当我推到heroku时,它告诉我它无法使用bundler安装gems,然后失败:Ruby on rails Heroku推送失败,ruby-on-rails,ruby-on-rails-3,heroku,gem,bundler,Ruby On Rails,Ruby On Rails 3,Heroku,Gem,Bundler,当我推到heroku时,它告诉我它无法使用bundler安装gems,然后失败: Git error: command `git fetch --force --quiet --tags 'git@github.com:holgersindbaek/streama.git' "refs/heads/*:refs/heads/*"` in directory /tmp/build_2e6gwsce8rtbt/vendor/bundle/ruby/1.9.1/cache/bundler/git/st
Git error: command `git fetch --force --quiet --tags 'git@github.com: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 git@heroku.com:afternoon-spring-7047.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:afternoon-spring-7047.git'
它建议我删除流chace,但我不知道它在哪里
以前有人试过这个吗
我在Rails 3.2.2上,用Mongoid运行MongoDB
更新:
我使用的是ruby 1.9.3,所以我觉得它指向ruby 1.9.1文件夹有点滑稽。不知道这是否与此有关?您正在使用该存储库的专用git链接:
git@github.com...
而不是:
git://github.com...
由于Heroku shell无权“私下”克隆该GitHub存储库,因此尝试在Heroku上运行
bundle install
将失败。将该链接更改为公共克隆URL。有效。谢谢。不过很有趣。。。我有另一个宝石,我从一个私人存储库中使用,效果很好。