From fe47ac213bc43747004779dd966790592d0ab309 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Mon, 26 Jul 2021 15:20:53 +0200 Subject: [PATCH] [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 32a94a7e67..fbb8833cfb 100644 --- a/lib/bundler/runtime.rb +++ b/lib/bundler/runtime.rb @@ -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)