diff --git a/lib/bundler/rubygems_ext.rb b/lib/bundler/rubygems_ext.rb index 4593db87c3c..53a153e560c 100644 --- a/lib/bundler/rubygems_ext.rb +++ b/lib/bundler/rubygems_ext.rb @@ -13,7 +13,7 @@ # Possible use in Gem::Specification#source below and require # shouldn't be deferred. require "rubygems/source" -rescue LoadError => e +rescue LoadError # Not available before Rubygems 2.0.0, ignore nil end