aboutsummaryrefslogtreecommitdiffstats
path: root/tool/rbinstall.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-18 00:38:00 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-18 00:38:00 +0000
commit36bc8c0b283f494d1a7aade390fe391f7894821f (patch)
treed258b595301471e200b1d0f0cafd740d0e21e104 /tool/rbinstall.rb
parent2b7bde7eff589b8f73128851611270ba9a04409c (diff)
downloadruby-36bc8c0b283f494d1a7aade390fe391f7894821f.tar.gz
tool: removed unused variables
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/rbinstall.rb')
-rwxr-xr-xtool/rbinstall.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb
index c648a4ad57..9e935bdb47 100755
--- a/tool/rbinstall.rb
+++ b/tool/rbinstall.rb
@@ -333,7 +333,6 @@ vendorlibdir = CONFIG["vendorlibdir"]
vendorarchlibdir = CONFIG["vendorarchdir"]
mandir = CONFIG["mandir", true]
docdir = CONFIG["docdir", true]
-configure_args = Shellwords.shellwords(CONFIG["configure_args"])
enable_shared = CONFIG["ENABLE_SHARED"] == 'yes'
dll = CONFIG["LIBRUBY_SO", enable_shared]
lib = CONFIG["LIBRUBY", true]
@@ -823,7 +822,7 @@ install?(:ext, :comm, :gem, :'bundled-gems') do
inst.spec.extension_dir = with_destdir(inst.spec.extension_dir)
begin
Gem::DefaultUserInteraction.use_ui(silent) {inst.install}
- rescue Gem::InstallError => e
+ rescue Gem::InstallError
next
end
gemname = File.basename(gem)