diff options
author | Samuel E. Giddins <segiddins@segiddins.me> | 2015-06-02 20:40:19 -0700 |
---|---|---|
committer | Samuel E. Giddins <segiddins@segiddins.me> | 2015-06-02 20:40:19 -0700 |
commit | 878b62605019ef0e7b71c3f7ae981495e68d1837 (patch) | |
tree | 38c1948de9282d652f6bb93a032186bf7415e6c0 | |
parent | b6e038cffdbc862ffa48edca82340760fcd27aba (diff) | |
download | bundler-seg-allow-missing-files.tar.gz |
Allow missing files when validating a specseg-allow-missing-files
-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 |