From 9748a78494e3c507be3f818d325421b632118af4 Mon Sep 17 00:00:00 2001 From: David Kellum Date: Fri, 2 Sep 2016 14:25:43 -0700 Subject: [PATCH] If this works, you are just as nuisance, Rubocop --- lib/bundler/rubygems_ext.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/bundler/rubygems_ext.rb b/lib/bundler/rubygems_ext.rb index 0401e032da0..4593db87c3c 100644 --- a/lib/bundler/rubygems_ext.rb +++ b/lib/bundler/rubygems_ext.rb @@ -13,8 +13,9 @@ # Possible use in Gem::Specification#source below and require # shouldn't be deferred. require "rubygems/source" -rescue LoadError +rescue LoadError => e # Not available before Rubygems 2.0.0, ignore + nil end require "bundler/match_platform"