Replace gem --no-ri and --no-rdoc with --no-document
Change-Id: I0d3b0c095beb3771a699c5485ecd3b3a2c0a31f4
This commit is contained in:
parent
f9bcdf4fcb
commit
04d7f3fa10
@ -9,7 +9,7 @@ prepare_environment() {
|
|||||||
export GEM_HOME=`pwd`/.bundled_gems
|
export GEM_HOME=`pwd`/.bundled_gems
|
||||||
export GEM_BIN_DIR=$GEM_HOME/bin
|
export GEM_BIN_DIR=$GEM_HOME/bin
|
||||||
ruby <<EOF
|
ruby <<EOF
|
||||||
cmd = 'gem install bundler --no-rdoc --no-ri --verbose --bindir=${GEM_BIN_DIR}'
|
cmd = 'gem install bundler --no-document --verbose --bindir=${GEM_BIN_DIR}'
|
||||||
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.3.0') then
|
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.3.0') then
|
||||||
cmd += ' -v 1.17.3'
|
cmd += ' -v 1.17.3'
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user