Maybe your issue is related to 
>> https://gitlab.com/gitlab-org/omnibus-gitlab/issues/406 
>>
>
> To me LOAD_PATH didn't seem like cause of the issue, Only rationale I 
> could come up with, if it's also chrooted?  
>


In pry I did
lp1 = $LOAD_PATH.dup 
require 'my/gem'
lp2 = $LOAD_PATH.dup
lp2-lp1

And I added those to my hook, and it started working for 'merge requests'. 
So it was LOAD_PATH issue, I just don't get what is stopping 'require' 
working normally in 'accept merge request'. And why does it work normally 
for 'push' event'.

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/5ff7dda9-14e6-43e8-8981-0c40a2ada3a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to