【发布时间】:2012-07-18 10:56:19
【问题描述】:
我的 gemfile 中有以下行:
gem 'client_side_validations', :git => "git@github.com:Dakuan/client_side_validations.git", :branch => "master", ref: '2245b4174ffd4b400d999cb5a2b6dccc0289eb67'
它指向的 repo 是公开的,我可以在本地运行 bundle install / update 就好了。当我尝试推送到 Heroku 时,出现以下错误:
Fetching git@github.com:Dakuan/client_side_validations.git Host key verification failed. fatal: The remote end hung up unexpectedly Git error: command `git clone 'git@github.com:Dakuan/client_side_validations.git' "/tmp/build_1xa9f06n4k1cu/vendor/bundle/ruby/1.9.1/cache/bundler/git/client_side_validations-56a04875baabb67b5f8c192c6c6743df476fd90f" --bare --no-hardlinks` in directory /tmp/build_1xa9f06n4k1cu has failed.! !无法通过 Bundler 安装 gem。 ! ! Heroku push 被拒绝,无法编译 Ruby/rails 应用
有人知道这里发生了什么吗?
【问题讨论】:
标签: ruby-on-rails ruby git heroku bundler