Created
October 8, 2013 23:29
-
-
Save headius/6893614 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/ruby/shared/rubygems/package.rb b/lib/ruby/shared/rubygems/package.rb | |
index ba379c2..376db3a 100644 | |
--- a/lib/ruby/shared/rubygems/package.rb | |
+++ b/lib/ruby/shared/rubygems/package.rb | |
@@ -386,6 +386,7 @@ EOM | |
destination_dir = File.realpath destination_dir if | |
File.respond_to? :realpath | |
+ destination_dir = File.expand_path destination_dir | |
destination = File.join destination_dir, filename | |
destination = File.expand_path destination | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment