ruby-changes:67400
From: David <ko1@a...>
Date: Tue, 31 Aug 2021 19:06:46 +0900 (JST)
Subject: [ruby-changes:67400] fe47ac213b (master): [rubygems/rubygems] Remove unnecessary exception
https://git.ruby-lang.org/ruby.git/commit/?id=fe47ac213b From fe47ac213bc43747004779dd966790592d0ab309 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> Date: Mon, 26 Jul 2021 15:20:53 +0200 Subject: [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 --- lib/bundler/runtime.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/bundler/runtime.rb b/lib/bundler/runtime.rb index 32a94a7..fbb8833 100644 --- a/lib/bundler/runtime.rb +++ b/lib/bundler/runtime.rb @@ -22,10 +22,6 @@ module Bundler https://github.com/ruby/ruby/blob/trunk/lib/bundler/runtime.rb#L22 # 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) -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/