summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <hsbt@ruby-lang.org>2018-07-12 12:07:36 +0900
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2018-07-12 12:07:36 +0900
commit4cfbb132758d5bbea287b55bfeaae382867396ba (patch)
treebb395a8d5ffb01e8d2e9ae89d61643af663ce8d2 /Rakefile
parent0c6048a47014bfb3485521c066a765960d8dcc10 (diff)
downloadbundler-4cfbb132758d5bbea287b55bfeaae382867396ba.tar.gz
To use --no-document option after RubyGems 2.0. RubyGems will remove --no-ri and --no-rdoc options at RubyGems 3.0
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 2f7db8253c..a4e4b19db2 100644
--- a/Rakefile
+++ b/Rakefile
@@ -56,7 +56,7 @@ namespace :spec do
sh %(#{Gem.ruby} -S gem #{gem_install_command})
end
else
- gem_install_command = "install --no-ri --no-rdoc --conservative " + deps.sort_by {|name, _| name }.map do |name, version|
+ gem_install_command = "install --no-document --conservative " + deps.sort_by {|name, _| name }.map do |name, version|
"'#{name}:#{version}'"
end.join(" ")
sh %(#{Gem.ruby} -S gem #{gem_install_command})