sbadia/puppet-gitlab — pull request #186 by frconil (2014-09-12 01:05:55+00:00)
Title: Updating the environment used by the update hook to rbenv ruby

It appears that the "update" hook from gitlab-shell defaults to
system ruby, raising errors on mismatched versions for rake when
trying to edit files using the web interface.
Forcing it to use rbenv ruby solves the issue.

Fixes https://github.com/sbadia/puppet-gitlab/issues/185