sbadia / puppet-gitlab

Puppet module for manage GitLab installation
http://forge.puppetlabs.com/sbadia/gitlab
GNU General Public License v3.0
131 stars 76 forks source link

gitlab-shell update hook uses system ruby by default #185

Closed frconil closed 10 years ago

frconil commented 10 years ago

As reported there: https://github.com/gitlabhq/gitlabhq/issues/7729

After troubleshooting we found that the "update" hook linked from $git_home/gitlab-shell/hooks is using system ruby instead of rbenv ruby.

The issues prevents merge requests and editing files on the web interface.

sbadia commented 10 years ago

Hi, thanks for reporting this issue and the quick patch! Can we add a spec test to ensure that the shim line is present ?

frconil commented 10 years ago

Hi Sebastien,

WIll do so by Monday.

frconil commented 10 years ago

Hi Sebastien,

I added commit https://github.com/frconil/puppet-gitlab/commit/90b2cb3cbed2a15e084cd373d1df7bbdbbc8b217

Let me know if there is any issue as I'm not too experienced with spec tests.