[Capistrano] Re: How to deploy with SSH from Windows?

2009-03-30 Thread Lee Hambley
Di you have an SSH key, and is it at %w(~/.ssh/id_rsa.pub) ? What SSH client are you using ? - Lee 2009/3/30 Masuda msd@gmail.com Hi,there. I'm trying to deploy with Capistrano 2.5.5 and git. But when using cap deploy command, server requires password for Windows login user name,

[Capistrano] Re: How to deploy with SSH from Windows?

2009-03-30 Thread Masuda
Thanks for reply. Di you have an SSH key, and is it at %w(~/.ssh/id_rsa.pub) ? Yes I have a SSH key but I made a mistake. It is at ~/.ssh/authorized_key so I collected it %w(~/.ssh/authorized_keys). What SSH client are you using ? I thought that no SSH client needed, so just command prompt

[Capistrano] Re: How to deploy with SSH from Windows?

2009-03-30 Thread Lee Hambley
I'm not familiar with a windows installation, since Net::SSH is a pure-ruby implementation of an SSH client, there shouldn't be one required if you are deploying *to* windows that isn't going to work very well for you... looking at the logs, you aren't entering a valid password for the target

[Capistrano] Re: Capistrano vs Rake for non Rails deployment.

2009-03-30 Thread Lee Hambley
Hi Alex, I don't mean to be rude in the least, but there are a few glaringly obvious I'm new to ruby problems with your Rake task that are going to limit its usefulness to the community, I'd be happy to work them through with you if you are interested, I do not however want to turn this thread

[Capistrano] Passing command line params to my cap script

2009-03-30 Thread Stewart
Hi, I am using cap to deploy a php based project. Works great so far. I am looking to add a command line param to my script so i can deploy to my staging or to live depending on what param I use. So far i am trying to pass in commmand line args via -s from the console however cap does not seem

[Capistrano] Re: Passing command line params to my cap script

2009-03-30 Thread Yevgeniy A. Viktorov
Hello, according the problem you going to solve. I found it easy to do with multistage component: http://weblog.jamisbuck.org/2007/7/23/capistrano-multistage Thanks. Stewart wrote: Hi, I am using cap to deploy a php based project. Works great so far. I am looking to add a command line

[Capistrano] Re: Passing command line params to my cap script

2009-03-30 Thread E. Johnson
I think the reason that there's no answer is because this isn't generally handled in capistrano tasks (capistrano itself needs the '-' flags, e.g. # cap -T), and similarly, rake. environment variables are set prior to or during capistrano execution, e.g. setting rails environment, ssl flag, and

[Capistrano] Re: How to deploy with SSH from Windows?

2009-03-30 Thread Masuda
The server which I want to deploy is not windows. It's Linux, CentOS 5.2 . Now I realized that when I using command cap deploy:setup it doesn't require password for Windows login user name but requires root user password, not authorized public key. Though it went well. I confirmed directories

[Capistrano] Re: Capistrano vs Rake for non Rails deployment.

2009-03-30 Thread Alex Polite
On Mon, Mar 30, 2009 at 11:11:23PM +0100, Lee Hambley wrote: Hi Alex, I don't mean to be rude in the least, but there are a few glaringly obvious I'm new to ruby problems with your Rake task that are going to limit its usefulness to the community, I'd be happy to work them through with you