diff options
author | André Arko <mail@arko.net> | 2015-06-04 07:28:14 +0800 |
---|---|---|
committer | André Arko <mail@arko.net> | 2015-06-04 07:28:14 +0800 |
commit | 9d376bfb411732d479b849ee49a2e50053dbaa54 (patch) | |
tree | 38c1948de9282d652f6bb93a032186bf7415e6c0 | |
parent | b6e038cffdbc862ffa48edca82340760fcd27aba (diff) | |
parent | 878b62605019ef0e7b71c3f7ae981495e68d1837 (diff) | |
download | bundler-9d376bfb411732d479b849ee49a2e50053dbaa54.tar.gz |
Merge pull request #3708 from bundler/seg-allow-missing-files
Allow missing files when validating a spec
-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 |