Ruby on Rails
Tuesday, June 25, 2013
Hi,
You can use your local keys too! have a look here-
-- You can use your local keys too! have a look here-
https://help.github.com/articles/deploying-with-capistrano
Aman Mangal
Aman Mangal
3rd year Undergraduate
Department of Computer Science & Engineering
IIT Bombay
www.cse.iitb.ac.in/~amanmangal
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@gmail.com> 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:checktriggering 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 commandcommand finished in 705ms* executing "test -w /var/www/app"servers: ["54.227.250.222"][54.227.250.222] executing commandcommand finished in 710ms* executing "test -w /var/www/app/releases"servers: ["54.227.250.222"][54.227.250.222] executing commandcommand finished in 697ms* executing "which git"servers: ["54.227.250.222"][54.227.250.222] executing commandcommand finished in 702msYou appear to have all necessary dependencies installed$ cap staging deploytriggering 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@github.com: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 commandcommand finished in 738msCommand git ls-remote git@github.com:abc/abc.git master returned status code pid 19398 exit 128I 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@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
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@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment