mislav/git-deploy — pull request #65 by hmoore-r7 (2014-07-13 06:55:29+00:00)
Title: Automatically load RVM if available or needed

When deploying to remotes that use RVM, the /etc/profile.d/rvm.sh environment is not automatically loaded. In the past we have simply edited the post-receive hook by hand, but it seems it would be nice to automatically do so if the user is in the rvm group and the /etc/profile.d/rvm.sh script exists.