1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Remove unnecessary exception

If we have succeeded to materialize the bundle, all specs should be
loaded.

https://github.com/rubygems/rubygems/commit/bd3712d824
This commit is contained in:
David Rodríguez 2021-07-26 15:20:53 +02:00 committed by Hiroshi SHIBATA
parent 9a25a98c6b
commit fe47ac213b
Notes: git 2021-08-31 19:07:27 +09:00

View file

@ -22,10 +22,6 @@ module Bundler
# Activate the specs
load_paths = specs.map do |spec|
unless spec.loaded_from
raise GemNotFound, "#{spec.full_name} is missing. Run `bundle install` to get it."
end
check_for_activated_spec!(spec)
Bundler.rubygems.mark_loaded(spec)