On Jan 13, 2009, at 8:09 AM, Jason Roelofs wrote:

>>
>> Can you run your command like this?
>>
>>    - ssh m...@the-server.com -c 'cd /opt/project && sh
>> /opt/project/etc/start_project.sh
>>    start'
>>
>> which is effectively what Capistrano is doing via Net::SSH.
>>
>
> Actually, I can. Running the script that way works perfectly fine,
> which is why I'm completely stumped.

as the same *user* ??

i'd imagine your ssh command, and cap's, run as two different users  
with two different environments.



a @ http://codeforpeople.com/
--
we can deny everything, except that we have the possibility of being  
better. simply reflect on that.
h.h. the 14th dalai lama




--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to 
capistrano-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to