Hi,
You can use your local keys too! have a look here-
https://help.github.com/articles/deploying-with-capistrano
Aman Mangal
3rd year Undergraduate
Department of Computer Science & Engineering
IIT Bombay
www.cse.iitb.ac.in/~amanmangal
On Wed, Jun 26, 2013 at 8:54 AM, news.anand11
<news.anand11-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:
> Hi, I am using Capistrano for deployment. And bitnami in my ec2 linux
> instance. I have configured Capistrano for deployment and deploy:check says
> all is fine. But I am facing problem while doing deploy. Here is the full
> stack
>
> $ cap deploy:check
> triggering load callbacks
> * 2013-06-26 08:38:11 executing `staging''
> triggering start callbacks for `deploy:check''
> * 2013-06-26 08:38:11 executing `multistage:ensure''
> * 2013-06-26 08:38:11 executing `deploy:check''
> * executing "test -d /var/www/app/releases"
> servers: ["54.227.250.222"]
> [54.227.250.222] executing command
> command finished in 705ms
> * executing "test -w /var/www/app"
> servers: ["54.227.250.222"]
> [54.227.250.222] executing command
> command finished in 710ms
> * executing "test -w /var/www/app/releases"
> servers: ["54.227.250.222"]
> [54.227.250.222] executing command
> command finished in 697ms
> * executing "which git"
> servers: ["54.227.250.222"]
> [54.227.250.222] executing command
> command finished in 702ms
> You appear to have all necessary dependencies installed
>
> $ cap staging deploy
> triggering load callbacks
> * 2013-06-26 08:38:49 executing `staging''
> triggering start callbacks for `deploy''
> * 2013-06-26 08:38:49 executing `multistage:ensure''
> * 2013-06-26 08:38:49 executing `deploy''
> triggering before callbacks for `deploy''
> * 2013-06-26 08:38:49 executing `check_production''
> * 2013-06-26 08:38:49 executing `deploy:update''
> ** transaction: start
> * 2013-06-26 08:38:49 executing `deploy:update_code''
> executing locally: "git ls-remote
git-9UaJU3cA/F/QT0dZR+AlfA@public.gmane.org:abc/abc.git master"
> Permission denied (publickey).
> fatal: The remote end hung up unexpectedly
> *** [deploy:update_code] rolling back
> * executing "rm -rf /var/www/app/releases/20130626030853; true"
> servers: ["54.227.250.222"]
> [54.227.250.222] executing command
> command finished in 738ms
> Command git ls-remote
git-9UaJU3cA/F/QT0dZR+AlfA@public.gmane.org:abc/abc.git master returned status
> code pid 19398 exit 128
>
> I have checked and get to know that it is git configuration problem. I
> want to confirm that it is not capsitrano problem ? Do I really need to do
> git ssh configuration in my ec2 instance ?
>
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/rubyonrails-talk/CAL9wd7cQh1Gm6B2r5qSA01oxbHX375wcNnrt%2ByUPGOt77QeCkg%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/CAL6Z3hxSnFeD6mVEZNY2gpL3enGAG3f7iJYJ%2BUZevNkQngouOQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.