diff options
author | David Kellum <dek-oss@gravitext.com> | 2016-09-02 14:25:43 -0700 |
---|---|---|
committer | David Kellum <dek-oss@gravitext.com> | 2016-09-02 14:26:04 -0700 |
commit | 9748a78494e3c507be3f818d325421b632118af4 (patch) | |
tree | 4224fb2dbd8042b655ff843188b90f2c1721e94c | |
parent | 2dda88ec6722a5c652319127d2d6e94edfb93e22 (diff) | |
download | bundler-9748a78494e3c507be3f818d325421b632118af4.tar.gz |
If this works, you are just as nuisance, Rubocop
-rw-r--r-- | lib/bundler/rubygems_ext.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bundler/rubygems_ext.rb b/lib/bundler/rubygems_ext.rb index 0401e032da..4593db87c3 100644 --- a/lib/bundler/rubygems_ext.rb +++ b/lib/bundler/rubygems_ext.rb @@ -13,8 +13,9 @@ begin # 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" |