[Capistrano] Re: Capistrano rollback problem on Solaris

2008-12-01 Thread Jamie Orchard-Hays
which version of solaris? I'm not working with solaris these days, but I have used Cap/Rails a lot on 8 and 10. Solaris doesn't play well and I have found that I had to write custom versions of some capistrano commands to work properly. On Dec 1, 2008, at 4:54 AM, RogEr wrote: In the

[Capistrano] Re: Capistrano rollback problem on Solaris

2008-12-01 Thread Jamie Orchard-Hays
to the version before that. So its not a big deal, but its nice to have everything working. So if anyone knows a workaround let me know, if not I may look into it myself. On Dec 1, 5:17 pm, Jamie Orchard-Hays [EMAIL PROTECTED] wrote: which version of solaris? I'm not working with solaris

[Capistrano] using local git

2008-09-12 Thread Jamie Orchard-Hays
I'm using a local git repo. Isn't there a way to setup my cap script to push that up? Jamie --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano

[Capistrano] Re: using local git

2008-09-12 Thread Jamie Orchard-Hays
Thanks, I used the source and found: set :repository, file://. set :deploy_via, :copy set :scm, :git On Sep 12, 2008, at 4:53 PM, Mislav Marohnić wrote: Search the archives for push strategy. Best, # Mislav On Fri, Sep 12, 2008 at 22:51, Jamie Orchard-Hays [EMAIL PROTECTED] wrote

[Capistrano] Re: Keey getting Net::SSH::HostKeyMismatch

2008-09-02 Thread Jamie Orchard-Hays
Matt, my first thought is whether your Capistrano user is the same as the user you setup your ssh key. On Sep 2, 2008, at 12:05 AM, goodieboy wrote: Hi, I've been trying to do a deploy:cold using Capistrano 2.5 but keep getting a connection failed... Net::SSH::HostKeyMismatch... error.

[Capistrano] Re: nohup problem

2008-09-02 Thread Jamie Orchard-Hays
be overwritten (or maybe appended to), nohup will die. You might just want to make sure that $HOME/nohup.out either does not exist, or has sufficient permissions to be overwritten. - Jamis On Aug 31, 2008, at 9:44 AM, Jamie Orchard-Hays wrote: I have a script used by crontab to do svn co, some

[Capistrano] nohup problem

2008-08-31 Thread Jamie Orchard-Hays
I have a script used by crontab to do svn co, some other stuff, and run an XTF indexer (lucene indexer), restart Tomcat. Works fine. I wrote a cap task to call this and redirect output to the file. This works (and I can ctrl-c to exit the cap task and the process continues on the server):

[Capistrano] Re: you must have a tty to run sudo

2008-06-27 Thread Jamie Orchard-Hays
On Jun 27, 2008, at 2:20 PM, Jamie Orchard-Hays wrote: I'm getting this error when I try to use sudo to copy a file from a tmp dir to init.d. I'm using Cap 2.4.1 *without* Cap's deploy file, as this is a non-rails deployment. Here's the error: * executing sudo -p 'sudo password: ' cp /var

[Capistrano] Re: calling tasks from other tasks

2008-06-23 Thread Jamie Orchard-Hays
well dang, if that doesn't rock. :-) Jamie On Jun 22, 2008, at 5:06 PM, Jamis Buck wrote: On Jun 20, 2008, at 1:00 PM, David Masover wrote: Even when deploying Rails, I often gut the default deploy tasks, and add dozen or so hooks. David, this totally made my day. I love to hear

[Capistrano] Re: could not find any strategy named `checkout'

2008-06-23 Thread Jamie Orchard-Hays
I just tried it on three apps and all work fine (also using RailsMachine). Leopard 10.5.3, Cap 2.4, gem 1.1.1, ruby 1.8.6 (2007-09-24 patchlevel 111) [universal-darwin9.0] Jamie On Jun 23, 2008, at 2:18 PM, Jamis Buck wrote: I'm sorry all, but I'm at a loss here. I can't duplicate it

[Capistrano] Re: prob deploying - maybe svn?

2008-06-19 Thread Jamie Orchard-Hays
Start by adding -v (one or more) to your cap command and see if you get some more info back. Jamie On Jun 18, 2008, at 5:53 PM, lunaclaire wrote: I'm suddenly having a problem deploying. I haven't changed anything in my deployment configuration (deploy.rb, svn repo, server configs) in

[Capistrano] Re: cap deploy:check error You do not have permissions to write to...

2008-06-19 Thread Jamie Orchard-Hays
Permissions often get me too... Basically, you're running with sudo on (the default). Since you're setting this into your own home dir, turn off sudo. In your deploy file, just add: set use_sudo, :false Manually rm -rf the root owned dirs and start over. Jamie On Jun 19, 2008, at 8:58

[Capistrano] Re: calling tasks from other tasks

2008-06-19 Thread Jamie Orchard-Hays
I have an old cap 1.4.1 script that I used like this: if ENV['DEPLOY'] == 'production' puts *** Deploying to the PRODUCTION servers! set :application, production-web set :rails_env, production set :mongrel_port, 8000 set :mongrel_environment, production else puts ***

[Capistrano] role :db

2008-06-12 Thread Jamie Orchard-Hays
Now that I'm using multiple servers, I am surprised to find capistrano deploying my whole rails up to my db server. Is this correct behavior? I'm using Cap 2.3.101 Thanks, Jamie --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL

[Capistrano] Re: Net::SSH::Exception: corrupted mac detected

2008-06-03 Thread Jamie Orchard-Hays
ruby 1.8.6 (2007-09-24 patchlevel 111) [universal-darwin9.0] On Jun 3, 2008, at 12:06 PM, Jamis Buck wrote: What version of ruby are you using? - Jamis On Jun 3, 2008, at 9:58 AM, jamieorc wrote: I upgraded to Cap 2 a few weeks ago. Last week, I tried to use the tunnel feature and

[Capistrano] Re: Net::SSH::Exception: corrupted mac detected

2008-06-03 Thread Jamie Orchard-Hays
Used Avail Use% Mounted on ** [out :: ...] /dev/sda1 50G 3.3G 44G 8% / ** [out :: ...] none 513M 0 513M 0% /dev/shm command finished On Jun 3, 2008, at 12:08 PM, Jamie Orchard-Hays wrote: ruby 1.8.6 (2007-09-24 patchlevel 111) [universal

[Capistrano] Re: Net::SSH::Exception: corrupted mac detected

2008-06-03 Thread Jamie Orchard-Hays
, Jamie Orchard-Hays wrote: One more data point: I have no problems connecting to a different machine with another project's Capfile (a centos 5 machine at Rails Machine): cap df * executing `df' * executing df -h servers: [...] [...] executing command ** [out :: ...] Filesystem

[Capistrano] Re: Net::SSH::Exception: corrupted mac detected

2008-06-03 Thread Jamie Orchard-Hays
If there's any more info I can give, or if you have any suggestions for further trouble-shooting, I'm all ears. Jamie On Jun 3, 2008, at 1:01 PM, Jamie Orchard-Hays wrote: That's right. From off-campus I have a white-listed server I can access the site with, so I first tried the gateway