[Capistrano] Re: Different user/passwords for different servers

2007-02-09 Thread Adam
I Amr, putting your passwords in your cap deploy.rb file is not very secure. Why not use SSH keys? There are lots of places on the internet where you can find how to do this, but a short howto can be found at: http://pkeck.myweb.uga.edu/ssh/ As for your other question about providing different

[Capistrano] Re: getting ARGV

2007-02-09 Thread Roy Nicholson
Sometimes in a pinch I just use env vars... MSG=hello world cap disable_web deploy enable_web deploy.rb: ... puts #{ENV[MSG]} if ENV[MSG] ... Jamis Buck wrote: Clayton, Note that Capistrano consumes the command-line arguments, using optparse, which is destructive. Once the arguments

[Capistrano] and || in tasks

2007-02-09 Thread Steve Downey
This is probably more of a unix question than Capistrano. If I have several commands to string together, I know I can to that with . But what do I do if I have several steps and I want them all executed regardless of the success of prior commands. An example might be a task to get my mongrel

[Capistrano] Re: and || in tasks

2007-02-09 Thread Vegan Buddy
Use '; between the commands. On 2/9/07, Steve Downey [EMAIL PROTECTED] wrote: This is probably more of a unix question than Capistrano. If I have several commands to string together, I know I can to that with . But what do I do if I have several steps and I want them all executed

[Capistrano] Document root symlink causes Symbolic link not allowed or link target not accessible

2007-02-09 Thread Charles Brian Quinn
A client wanted to deploy on their Suse Enterprise Linux Server (SLES) 10, recently, and I kept getting this nasty nasty message along with some Novell apparmor non-sense in the apache and document specific logs. Images/stylesheets and generally everything out of the public document root