8
Gemfile:Làm thế nào để kéo plugin từ github trên heroku?
...
gem 'paperclip', :git => '[email protected]:mdrozdziel/paperclip.git'
...
Trong khi đẩy ứng dụng tôi nhận được lỗi sau. Repo mà tôi liên kết là công khai.
Fetching [email protected]:mdrozdziel/paperclip.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]:mdrozdziel/paperclip.git" "/disk1/tmp/build_28099_23931178722320/.bundle/gems/ruby/1.8/cache/bundler/git/paperclip-c032df0dc0463697a1ce5ae3761bec95be700815" --bare --no-hardlinks. Cannot complete bundling.
Bất kỳ ý tưởng nào là vấn đề ở đây? Bảng điều khiển cho thấy rằng/home/group_home/không tồn tại ...
Giải pháp của bạn đã giải quyết được sự cố của tôi. Cảm ơn! :-) – mdrozdziel
Cảm ơn bạn! Điều này giải quyết được một vấn đề tôi đã gặp với Spree (tôi cũng đã thêm đá quý bằng cách sử dụng cú pháp git @ github) –