我的 gemfile 中有以下行:
gem 'client_side_validations', :git => "git@github.com:Dakuan/client_side_validations.git", :branch => "master", ref: '2245b4174ffd4b400d999cb5a2b6dccc0289eb67'
它指向的仓库是公开的,我可以在本地运行 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 推送被拒绝,无法编译 Ruby/rails 应用程序
有人对这里发生的事情有任何想法吗?