I can't say often enough that ssh_options[:pty] is a hack that leads to really, really flaky deployment. Use rbenv binary shims, or rbenv binary shims, and fix your PATHS.
Lee Hambley -- http://lee.hambley.name/ +49 (0) 170 298 5667 On 1 July 2013 15:31, Rohit Mishra <[email protected]> wrote: > Same here. Hope more replies here means this comes higher in search > results. > > Rohit > > > On Tuesday, June 4, 2013 7:33:05 AM UTC+5:30, Pablo Orellana wrote: >> >> It worked for me too! Thanks >> >> On Thursday, April 11, 2013 12:03:13 PM UTC-3, Craig White wrote: >>> >>> >>> On Apr 11, 2013, at 4:43 AM, henrique matias wrote: >>> >>> > Hello Guys, >>> > >>> > My deploy:update is failing, perhaps cause it doesn't find "bundle" ( >>> i see "bundle: not found" at some point in the debug log ) >>> > >>> > That's my script: http://pastebin.com/MCrDF7wZ >>> > >>> > That's the debug messages i see after executing deploy:update: >>> http://pastebin.com/PhCTqELi >>> > >>> > Am using rbenv, using an "app_user".. >>> > >>> > I think something to notice is that am using: >>> default_run_options[:pty] = true ? >>> > >>> > also, setting the path with: >>> > >>> > set :default_environment, { >>> > "PATH" => "/home/app_user/.rbenv/shims:/**home/app_user/.rbenv/bin:$ >>> **PATH" >>> > } >>> > >>> > Any ideas? Sounds a bit stupid, but i think adding a ";" at the end of >>> "PATH" is making things go a bit further, than without. >>> > >>> > Capistrano v2.14.2 >>> ---- >>> what solved it for me (using rbenv) was to add this near the top of my >>> deploy.rb >>> >>> default_run_options[:shell] = '/bin/bash --login' >>> >>> YMMV >>> >>> Craig >> >> -- > -- > * 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.com/group/capistrano?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Capistrano" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- * 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.com/group/capistrano?hl=en --- You received this message because you are subscribed to the Google Groups "Capistrano" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
