diff options
author | Sean McGivern <sean@gitlab.com> | 2019-01-01 08:23:49 +0000 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-01-01 08:23:49 +0000 |
commit | c7ac1b4060a6875d888eeb62908677d67cd87ef7 (patch) | |
tree | ef2141e4a4c61161feb6d4675317905a8d26c19d | |
parent | d07067ae142cf117266aac23132303d7d9654bb7 (diff) | |
download | gitlab-ce-c7ac1b4060a6875d888eeb62908677d67cd87ef7.tar.gz |
Stop using deprecated argument to `gem`
`--no-rdoc` and `--no-ri` have been deprecated since RubyGems 2.0:
https://github.com/rubygems/rubygems/blob/v2.0.0/History.txt#L43
They were finally removed in a recent release:
https://github.com/rubygems/rubygems/pull/2354
-rw-r--r-- | scripts/prepare_build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/prepare_build.sh b/scripts/prepare_build.sh index d85c53090a4..58b74f2f07d 100644 --- a/scripts/prepare_build.sh +++ b/scripts/prepare_build.sh @@ -10,7 +10,7 @@ fi # Only install knapsack after bundle install! Otherwise oddly some native # gems could not be found under some circumstance. No idea why, hours wasted. -retry gem install knapsack --no-ri --no-rdoc +retry gem install knapsack --no-document cp config/gitlab.yml.example config/gitlab.yml sed -i 's/bin_path: \/usr\/bin\/git/bin_path: \/usr\/local\/bin\/git/' config/gitlab.yml |