diff options
Diffstat (limited to 'lib/bundler/rubygems_integration.rb')
-rw-r--r-- | lib/bundler/rubygems_integration.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bundler/rubygems_integration.rb b/lib/bundler/rubygems_integration.rb index 6ea18b2949..42811022d1 100644 --- a/lib/bundler/rubygems_integration.rb +++ b/lib/bundler/rubygems_integration.rb @@ -49,6 +49,8 @@ module Bundler def validate(spec) Bundler.ui.silence { spec.validate(false) } + rescue Errno::ENOENT + nil end def path(obj) @@ -487,6 +489,8 @@ module Bundler # so we set it to an empty string to prevent an exception here. spec.summary ||= "" Bundler.ui.silence { spec.validate(false) } + rescue Errno::ENOENT + nil end end |