-
-
Save mpapis/bac6163f8855e12f7833 to your computer and use it in GitHub Desktop.
possible fix for https://github.com/rubygems/rubygems/issues/1420
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/bundler-unload.rb b/lib/bundler-unload.rb | |
index ff86037..c433c7b 100644 | |
--- a/lib/bundler-unload.rb | |
+++ b/lib/bundler-unload.rb | |
@@ -28,6 +28,15 @@ module Bundler | |
Gem::Specification.all = specs | |
end | |
end | |
+ | |
+ class MoreFuture | |
+ def plain_specs | |
+ Gem::Specification.stubs | |
+ end | |
+ def plain_specs=(specs) | |
+ Gem::Specification.all = specs | |
+ end | |
+ end | |
end | |
class << self |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment