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 capistrano@googlegroups.com
* To unsubscribe from this group, send email to 
capistrano+unsubscr...@googlegroups.com 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 capistrano+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to