diff options
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 } |