This was driving me nuts on a client's gentoo box -- I couldn't get any PATH variables to work, therefore ruby and rubygems and everything I had compiled from source in /usr/local wasn't loading or available.
I had to enable user environments in the /etc/ssh/sshd_config: PermitUserEnvironment yes restart sshd then I had to create a ~/.ssh/environment variable that had the line: PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin since that file only wants key value pairs, I believe. this task helped me out: desc "show path" task :show_path do run "echo $PATH" end Now that I see some more options in the ssh like enabling "login" -- I am curious, but don't have enough time to keep going down this rabbit hole. On 10/27/06, Jamis Buck <[EMAIL PROTECTED]> wrote: > > On Oct 27, 2006, at 9:20 AM, [EMAIL PROTECTED] wrote: > > > > > I tried removing that line (though for me that's on line 58) and the > > deply task just hung after I entered my password. > > Thanks for being willing to experiment, Chris. There may yet be a way > to make it work, but I don't know how. It'll require some serious SSH- > fu, I think. If anyone wants to play with that and figures out a way > to make it work, please let me know. I'd love for capistrano to mimic > the command-execution semantics of the ssh command as closely as > possible. > > - Jamis > > > > -- Charles Brian Quinn self-promotion: www.seebq.com highgroove studios: www.highgroove.com slingshot hosting: www.slingshothosting.com --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
