我曾遇到试图推动一个大礼包沙箱车,当这个错误的测试我将要使用的扩展。应用程序未能推到Heroku的,因为创业板捆绑(无法将主机添加到已知主机列表(/home/group_home/.ssh/known_hosts))
我的Gemfile
gem 'spree_flexi_variants', :git=>'[email protected]:jsqu99/spree_flexi_variants.git', :branch => 'pre-deface-stable'
的Heroku推的输出:
[email protected]:~/rails/sandboxcart $ git push heroku master
Counting objects: 502, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (475/475), done.
Writing objects: 100% (502/502), 2.63 MiB | 458 KiB/s, done.
Total 502 (delta 44), reused 0 (delta 0)
-----> Heroku receiving push
-----> Ruby/Rails app detected
-----> Detected Rails is not set to serve static_assets
Installing rails3_serve_static_assets... done
-----> Configure Rails 3 to disable x-sendfile
Installing rails3_disable_x_sendfile... done
-----> 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
Fetching source index for http://rubygems.org/
Fetching [email protected]:jsqu99/spree_flexi_variants.git
Failed to add the host to the list of known hosts (/home/group_home/.ssh/known_hosts).
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
An error has occurred in git when running `git clone "[email protected]:jsqu99/spree_flexi_variants.git" "/disk1/tmp/build_1s7xejrz2f9xk/.bundle/gems/ruby/1.9.1/cache/bundler/git/spree_flexi_variants-fc5500c20fdd64421924c0c5673538c7c6822540" --bare --no-hardlinks`. Cannot complete bundling.
FAILED: http://devcenter.heroku.com/articles/bundler
! Heroku push rejected, failed to install gems via Bundler
的应用程序运行,并使用正确的宝石但在尝试部署该错误出现。我仍然在解决问题的过程中,但任何帮助将不胜感激。
错误与上GitHub的网站没有对Heroku的网站上的按键做的,他访问github上时不Heroku的有问题。 – daniel
撇去它太浅。哎呀。 – ZMorek
只是一个观察,又何妨呢:) – daniel