Tôi có dòng sau trong gemfile tôi:tập tin với git remote thất bại trên Heroku Gem đẩy
gem 'client_side_validations', :git => "[email protected]:Dakuan/client_side_validations.git", :branch => "master", ref: '2245b4174ffd4b400d999cb5a2b6dccc0289eb67'
Các repo nó chỉ vào là công khai và tôi có thể chạy bó cài đặt/cập nhật tại địa phương tốt. Khi tôi cố gắng đẩy tới Heroku tôi nhận được lỗi sau:
Fetching [email protected]:Dakuan/client_side_validations.git Host key verification failed. fatal: The remote end hung up unexpectedly Git error: command `git clone '[email protected]: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.
! ! Failed to install gems via Bundler. ! ! Heroku push rejected, failed to compile Ruby/rails app
Bất kỳ ai có ý tưởng gì về những gì đang xảy ra ở đây?
Đúng, đó là kẻ xấu. Cảm ơn bạn đã giúp đỡ! – Dakuan
đừng quên chạy một gói cài đặt để cập nhật gemfile.lock của bạn và cam kết thay đổi của bạn sau khi thay đổi thành github public url –
Tôi không mong đợi một giải pháp đơn giản như vậy cho vấn đề này. Cảm ơn bạn! –