summaryrefslogtreecommitdiff
path: root/tool/rbinstall.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-31 09:07:17 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-31 09:07:17 +0000
commit48eb1aa5421a6dd5d535729ba769615a30b0e1a1 (patch)
tree56fd264319ccd3355ee7f5d68d483d23b0c9a418 /tool/rbinstall.rb
parent64a36e434d05bfbc88a8b4d0dc22fb3f62006bb5 (diff)
rbinstall.rb: duplicate code
* tool/rbinstall.rb (gem): remove duplicate load path and require. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/rbinstall.rb')
-rwxr-xr-xtool/rbinstall.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb
index 3cc3141..e488ec8 100755
--- a/tool/rbinstall.rb
+++ b/tool/rbinstall.rb
@@ -687,8 +687,6 @@ end
# :startdoc:
install?(:ext, :comm, :gem) do
- $:.unshift(File.join(srcdir, "lib"))
- require("rubygems.rb")
gem_dir = Gem.default_dir
directories = Gem.ensure_gem_subdirectories(gem_dir, :mode => $dir_mode)
prepare "default gems", gem_dir, directories