lib/bundler/rubygems_integration.rb in bundler-1.0.19.rc vs lib/bundler/rubygems_integration.rb in bundler-1.0.20.rc
- old
+ new
@@ -178,9 +178,10 @@
source_index
end
end
def stub_source_index170(specs)
+ Gem::SourceIndex.send(:alias_method, :old_initialize, :initialize)
Gem::SourceIndex.send(:define_method, :initialize) do |*args|
@gems = {}
# You're looking at this thinking: Oh! This is how I make those
# rubygems deprecations go away!
#