diff options
author | David RodrÃguez <[email protected]> | 2025-01-24 16:10:48 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2025-01-28 15:31:54 +0900 |
commit | d157aa7a9774c3725f3043fda408582ba2b09531 (patch) | |
tree | 06bc3736aacdff8a7370099741d8d3bdfdc7b49e | |
parent | f6e7f5337b882611c44628467a97358156cff62c (diff) |
[rubygems/rubygems] Remove dead code
LoadError is not a RuntimeError.
https://github.com/rubygems/rubygems/commit/4c67549722
-rw-r--r-- | lib/bundler/runtime.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/bundler/runtime.rb b/lib/bundler/runtime.rb index b72d3786bd..a9b3ed9a99 100644 --- a/lib/bundler/runtime.rb +++ b/lib/bundler/runtime.rb @@ -64,7 +64,6 @@ module Bundler begin Kernel.require file rescue RuntimeError => e - raise e if e.is_a?(LoadError) # we handle this a little later raise Bundler::GemRequireError.new e, "There was an error while trying to load the gem '#{file}'." end |