Skip to content

Unset RUBYLIB in gitlab-ctl, gitlab-rails, and gitlab-rake

Richard Clamp requested to merge rc-3185-remove-rubylib into master

What does this MR do?

Unset RUBYLIB in gitlab-ctl and gitlab-rake

RUBYLIB is another environment variable that may be pointing off into the host systems ruby libraries. Here we make sure that gitlab-ctl, gitlab-rails, and gitlab-rake use just libraries from the embedded ruby by unsetting RUBYLIB in addition to the existing unset of GEM_PATH, and GEM_HOME

Checklist

See Definition of done.

  • Change added to CHANGELOG.md. Not applicable for Documentation changes and minor changes.
  • Documentation created/updated
  • Tests added
  • Integration tests added to GitLab QA, if applicable
  • MR targeting master branch
  • MR has a green pipeline on GitLab.com

Reviewer Checklist

In addition to above, reviewer must:

  • Pipeline is green on dev.gitlab.org if the change is not touching documentation or internal cookbooks

References

Closes #3185 (closed)

Edited by GitLab Release Tools Bot

Merge request reports