Right, no profiles are loaded by Capistrano, by default, because it does not execute commands in a login shell. If you want non-login shells to use the profiles, you can set an sshd configuration option...but you'll need to google for it, because I can't remember it off the top of my head.
And yes, deploy.rb is where you set default_environment. - Jamis On 8/2/07, redbaritone <[EMAIL PROTECTED]> wrote: > > On Aug 2, 5:16 pm, "Jamis Buck" <[EMAIL PROTECTED]> wrote: > > If you have non-standard paths that > > you want Capistrano to use, you need to set them via something like > > the default_environment hash: > > > > default_environment["PATH"] = "/path/one:/path/two:/path/three" > > I changed the path in /etc/profile (which is run for ALL connecting > users, including the one that Capistrano is using). It still doesn't > work, but I'll move on. Where would I put the > default_environment["PATH"] = ... command? in deploy.rb? > > Thanks. > > > > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
