lib/bundler.rb in bundler-1.10.5 vs lib/bundler.rb in bundler-1.10.6

- old
+ new

@@ -369,11 +369,12 @@ end Bundler.rubygems.validate(spec) if spec && validate spec end rescue Gem::InvalidSpecificationException => e - raise InvalidOption, "The gemspec at #{file} is not valid. " \ + Bundler.ui.warn "The gemspec at #{file} is not valid. " \ "The validation error was '#{e.message}'" + nil end def clear_gemspec_cache @gemspec_cache = {} end