Created
April 16, 2015 17:12
-
-
Save tenderlove/430e4154c970ce8e94fe 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/rubygems/installer.rb b/lib/rubygems/installer.rb | |
index f01d237..f97c232 100644 | |
--- a/lib/rubygems/installer.rb | |
+++ b/lib/rubygems/installer.rb | |
@@ -292,7 +292,7 @@ class Gem::Installer | |
say spec.post_install_message unless spec.post_install_message.nil? | |
- Gem::Installer.install_lock.synchronize { Gem::Specification.add_spec spec } | |
+ Gem::Installer.install_lock.synchronize { Gem::Specification.reset } | |
run_post_install_hooks | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment