recap
recap copied to clipboard
Github RSA Fingerprint
when running cap deploy:setup
, I get stuck on the gem install.
* executing "sudo -p 'sudo password: ' su - entelo -c 'cd /home/entelo/app && bundle install --gemfile Gemfile --path /home/entelo/app/vendor/gems --deployment --quiet --binstubs --without development test'"
servers: ["ec2-54-203-146-250.us-west-2.compute.amazonaws.com"]
[ec2-54-203-146-250.us-west-2.compute.amazonaws.com] executing command
** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] Your Gemfile lists the gem spork (>= 0) more than once.
** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] You should probably keep only one of them.
** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] While it's not a problem now, it could cause errors if you change the version of just one of them later.
** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] The authenticity of host 'github.com (192.30.252.129)' can't be established.
** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] Are you sure you want to continue connecting (yes/no)?
I've gotten pass this by using ssh-keyscan
on the deploy user, but then I get public key errors from github.
* executing "sudo -p 'sudo password: ' su - entelo -c 'cd /home/entelo/app && bundle install --gemfile Gemfile --path /home/entelo/app/vendor/gems --deployment --quiet --binstubs --without development test'"
servers: ["ec2-54-203-146-250.us-west-2.compute.amazonaws.com"]
[ec2-54-203-146-250.us-west-2.compute.amazonaws.com] executing command
** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] Your Gemfile lists the gem spork (>= 0) more than once.
** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] You should probably keep only one of them.
** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] While it's not a problem now, it could cause errors if you change the version of just one of them later.
** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] Permission denied (publickey).
** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] fatal: The remote end hung up unexpectedly
** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] Retrying git clone '[email protected]:entelo/acts-as-taggable-on.git' "/home/entelo/app/vendor/gems/ruby/2.0.0/cache/bundler/git/acts-as-taggable-on-6525f53ba68de66e281f5c097a38c3bcf6c7a285" --bare --no-hardlinks --quiet due to error (2/3): Bundler::Source::Git::GitCommandError Git error: command `git
clone '[email protected]:entelo/acts-as-taggable-on.git' "/home/entelo/app/vendor/gems/ruby/2.0.0/cache/bundler/git/acts-as-taggable-on-6525f53ba68de66e281f5c097a38c3bcf6c7a285" --bare --no-hardlinks --quiet` in directory /home/entelo/app has failed.
** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] Permission denied (publickey).
** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] fatal: The remote end hung up unexpectedly
** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] Retrying git clone '[email protected]:entelo/acts-as-taggable-on.git' "/home/entelo/app/vendor/gems/ruby/2.0.0/cache/bundler/git/acts-as-taggable-on-6525f53ba68de66e281f5c097a38c3bcf6c7a285" --bare --no-hardlinks --quiet due to error (3/3): Bundler::Source::Git::GitCommandError Git error: command `git
clone '[email protected]:entelo/acts-as-taggable-on.git' "/home/entelo/app/vendor/gems/ruby/2.0.0/cache/bundler/git/acts-as-taggable-on-6525f53ba68de66e281f5c097a38c3bcf6c7a285" --bare --no-hardlinks --quiet` in directory /home/entelo/app has failed.
** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] Permission denied (publickey).
** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] fatal: The remote end hung up unexpectedly
** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] Git error: command `git clone '[email protected]:entelo/acts-as-taggable-on.git'
** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] "/home/entelo/app/vendor/gems/ruby/2.0.0/cache/bundler/git/acts-as-taggable-on-6525f53ba68de66e281f5c097a38c3bcf6c7a285"
** [out :: ec2-54-203-146-250.us-west-2.compute.amazonaws.com] --bare --no-hardlinks --quiet` in directory /home/entelo/app has failed.
I've tested on 1.2.2
and HEAD
Changing all the gems to use https instead of ssh solved this issue. But this is a temporary fix.