diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-08 20:58:42 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-08 20:58:42 +0000 |
commit | cceca83afe046b8c2b53eab6ab7c52faa1719b6d (patch) | |
tree | cfe7eac6ed4c0f4cabca1d7ec08ce1e144a8b95a /lib/rubygems/installer.rb | |
parent | 571ed8655fa499084114024c4a7f249228a8bc3d (diff) | |
download | ruby-cceca83afe046b8c2b53eab6ab7c52faa1719b6d.tar.gz |
* lib/rubygems/*: Remove unused variables warnings
Patch by Run Paint [ruby-core:30991]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems/installer.rb')
-rw-r--r-- | lib/rubygems/installer.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rubygems/installer.rb b/lib/rubygems/installer.rb index f64696fe7a..d942960b2f 100644 --- a/lib/rubygems/installer.rb +++ b/lib/rubygems/installer.rb @@ -318,7 +318,7 @@ class Gem::Installer def generate_bin_script(filename, bindir) bin_script_path = File.join bindir, formatted_program_filename(filename) - exec_path = File.join @gem_dir, @spec.bindir, filename + File.join @gem_dir, @spec.bindir, filename # HACK some gems don't have #! in their executables, restore 2008/06 #if File.read(exec_path, 2) == '#!' then @@ -466,7 +466,7 @@ TEXT say results.join("\n") if Gem.configuration.really_verbose - rescue => ex + rescue results = results.join "\n" File.open('gem_make.out', 'wb') { |f| f.puts results } |