summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2018-12-31 09:30:23 +0000
committerSean McGivern <sean@gitlab.com>2018-12-31 09:30:23 +0000
commit1854f142e201af4c6640b98b33b1e4992795b7bc (patch)
treec1e4ed0bde4b96228c1d457c4b562ad2dd6d8375 /scripts
parent1860117556be6a9eabf3befbf9e1622080b64893 (diff)
downloadgitlab-ce-1854f142e201af4c6640b98b33b1e4992795b7bc.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
Diffstat (limited to 'scripts')
-rw-r--r--scripts/prepare_build.sh2
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