Use gitlab custom bundler setup
What does this MR do?
Uses the GitLab custom bundler setup, which has support for properly resetting the gemfile location if it was changed.
(The upstream change mimics what the bundler cli command itself does, which involves an extra call to reset some of its instance variables, when you bypass the cli by calling bundler/setup you have to take those same steps yourself)
This change fixes an issue where the rails dependencies script doesn't work in the JiHu builds because bundler is set to use a different gemfile location.
Checklist
See Definition of done.
For anything in this list which will not be completed, please provide a reason in the MR discussion
Required
-
Merge Request Title, and Description are up to date, accurate, and descriptive -
MR targeting the appropriate branch -
MR has a green pipeline on GitLab.com
Expected (please provide an explanation if not completing)
-
Test plan indicating conditions for success has been posted and passes -
Documentation created/updated -
Integration tests added to GitLab QA -
The impact any change in container size has should be evaluated
Edited by Jason Plum