it does, look at the output... I believe you can set :shell, to be the path to the shell you want to use, false to not use any subshell; if memory serves, a typical capistrano command is the same as ssh u...@host "sh -c 'rake db:migrate' "
set :shell false to make it be this: ssh u...@host "rake db:migrate" or try setting shell to to be the shell you want to use. (note: it ignores your login shell, I believe the decision for this was that `sh` is ubuquitous, and bash is (relatively) subjectively installed. -- Lee Hambley Twitter: @leehambley Blog: http://lee.hambley.name/ Working with Rails: http://is.gd/1s5W1 2009/9/2 vanderkerkoff <[email protected]> > > > "I'm not sure, but I think that capistrano uses "sh" shell to execute > commands." > > me neither > > can anyone confirm or deny that? > > > On Sep 2, 7:05 pm, "Rafael G." <[email protected]> wrote: > > I'm not sure, but I think that capistrano uses "sh" shell to execute > > commands. > > Could you try to execute a function from "sh"? > > bash $ sh > > sh $ my-function > > > > Regards > > > > Will Clark wrote: > > > My functions are in /etc/bashrc. > > > > > I am setting default_run_options[:pty] = true. I also tried moving the > > > functions to ~/.bashrc & ~/.bash_profile for the account I use to > > > deploy and still get the same error. So I must be missing something > > > obvious. > > > > -- > > Rafa > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Capistrano" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.co.uk/group/capistrano?hl=en -~----------~----~----~----~------~----~------~--~---
