[Capistrano] Capistrano rollback problem on Solaris

2008-12-01 Thread RogEr
In the latest versions of Capisitrano the cleanup task of the rollback command uses a command named readlink that does not seem to be available on Solaris. Anyone know a workaround for this? --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to

[Capistrano] how to setup script?

2008-12-01 Thread Mukund
Hi, I am trying to setup Capistrano with the following constraints. 1. production server doesn't have access to SCM server which is running Git listening on localhost only. I tried to setup a SSH port forward and it isn't reliable as in the connection has a tendency to break. 2. the

[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 RogEr
Its Solaris Nevada(Opensolaris). I have never had any problems with Capistrano in this environment before, it seems that the readlink command was introduced in Capitrano 2.5. Doing a rollback works, but since cleanup fails it is not possible to rollback again to the version before that. So its

[Capistrano] Re: how to setup script?

2008-12-01 Thread Mislav Marohnić
On Mon, Dec 1, 2008 at 08:10, Mukund [EMAIL PROTECTED] wrote: 1. production server doesn't have access to SCM server which is running Git listening on localhost only. I tried to setup a SSH port forward and it isn't reliable as in the connection has a tendency to break. Was this just a

[Capistrano] Different deploy paths

2008-12-01 Thread Fabian Spillner
I want to update my files on my four servers. The apps are stored on four different paths. How can I do it in my task: task :deploy, :roles = :app do run svn up #{path} end path should depend on the role. Thank you for help! --~--~-~--~~~---~--~~ To

[Capistrano] Re: Windows and problem with wrong slashes during deploy:update

2008-12-01 Thread trudog
I’m experiencing the same problem with Cygwin in windows and Capistrano v2.5.2. Is there any progress on this problem or suggestions for a work-around? On Nov 12, 7:30 pm, Carlos Kozuszko [EMAIL PROTECTED] wrote: Sadly, the patch was useful for git repositories. Dealing with git repositories

[Capistrano] Re: Capistrano rollback problem on Solaris

2008-12-01 Thread Jamis Buck
I will take this moment to say: GAAHAHAHAHAH!!! [EMAIL PROTECTED]@ [EMAIL PROTECTED] Anyway. Yeah, Solaris does crap like this all the time. I'm afraid I'm going to give up on supporting solaris out of the box, because it isn't worth losing my sanity over. If someone wants to start a

[Capistrano] Re: Different deploy paths

2008-12-01 Thread Lee Hambley
Fabien, I will just point you here, at the Parallel() helper, as you should be able to get this to do what you need - http://www.capify.org/2008/8/29/capistrano-2-5-0 - I'll spare you the lecture about having a working copy checked out being a bit of a risk, for rollbacks, and the temptation to

[Capistrano] Re: Capistrano rollback problem on Solaris

2008-12-01 Thread Jamie Orchard-Hays
Jamis, I hear you! We ran nines.org on Solaris 8 for several years. What a pain it was getting it to play nicely with Capistrano. Another project I had on a Joyent Accelerator with Solaris 10 was better, but still problematic. I pretty much gave up on Solaris for this reason... Jamie On

[Capistrano] Re: how to setup script?

2008-12-01 Thread Mukund
On Dec 1, 10:56 pm, Mislav Marohnić [EMAIL PROTECTED] wrote: On Mon, Dec 1, 2008 at 08:10, Mukund [EMAIL PROTECTED] wrote: 1.  production server doesn't have access to SCM server which is running Git listening on localhost only.   I tried to setup a SSH port forward and it isn't reliable

[Capistrano] Re: how to setup script?

2008-12-01 Thread Mukund
I am going to give your push strategy a try. It is a new approach to the problem. Thanks, Mukund On Dec 1, 10:56 pm, Mislav Marohnić [EMAIL PROTECTED] wrote: On Mon, Dec 1, 2008 at 08:10, Mukund [EMAIL PROTECTED] wrote: 1.  production server doesn't have access to SCM server which is