| |
Capistrano |
Hello,
This started as: http://bit.ly/sutXR a few days ago
The problem I am facing is that environment variables are not
I tried the solution at:
http://blog.pretheory.com/arch/2008/02/capistrano_path_and_environmen...
And checked the variables set using:
desc "Echo environment vars"
(Really nice) but it wont work as I won't have
I think that a cheap and dirty solution would be specifying a
/home/foo/bin/bzr
With the full qualified path, not sure if this is supported out of
--
being set for the pseudo terminal. The SCM (Bazaar) is installed in
the home directory of the user, and capistrano is not finding it
because the PATH set in .bash_profile is not executed.
namespace :env do
task :echo do
run "echo printing out cap info on remote server"
run "echo $PATH"
run "printenv"
end
end
PermitUserEnvironment yes :-(
custom command name for the SCM in this case is Bazaar, something like
invoking it this way:
the box (I think no) and would require hacking Capistrano or if this
is even a good idea, but I am running out of idea.
Aníbal