Greg,

You can do something like

COMMAND="svn up /blah/blah/blah/blah/config/environment.rb" cap invoke restart

That will run the given command on your servers (via the 'invoke' task) and then restart your fcgi's (via 'restart').

I'm thinking through a way to make this more convenient, since it is a pattern I use frequently, myself. The "hard" part is making sure it works regardless of the SCM you're using.

- Jamis

On Oct 28, 2006, at 11:58 PM, Greg Hauptmann wrote:

Hi,

I'm using Capistrano, which is great, however is there a way to update a single file out to the servers without going through the full deployment of a new versions/release?

That is, if I just want to effectively fault find an error which is only occurring on production by making a change to one file, updating on remote server, testing, updating on remote server ...etc is there a way to leverage capistrano to do this. Some like: "cap deploy -singlefile /config/environmnet.rb" for example.

Thanks


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to capistrano- [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/ group/capistrano
-~----------~----~----~----~------~----~------~--~---


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to