-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gitcopy doesn't work with capistrano-rvm #22
Comments
PR submitted... Thanks, @xuwupeng2000. |
One question I have regarding this rvm:hook is, if a user is not using RVM, would your changes still work for them? |
It will... It simply replaces the |
Awesome ! |
Thanks for merging that in so quickly! |
This line of code is the issue...
Since this gem is using
capture
instead ofexecute :ruby, '--args'
capistrano-rvm cannot plug in thervm:hook
task for this command. I spent a lot of time troubleshooting this one and took a lot of wrong turns trying to get Cap3 to work with a login shell, trying to rewrite thegitcopy:deploy
task to include thervm:hook
among others... Once I finally figured out how capistrano-rvm was injecting the call to RVM the solution was an easy one.If you have any questions, please let me know... I'll be submitting a pull request shortly.
The text was updated successfully, but these errors were encountered: