summaryrefslogtreecommitdiff
path: root/lib/rubygems/core_ext/kernel_require.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rubygems/core_ext/kernel_require.rb')
-rwxr-xr-xlib/rubygems/core_ext/kernel_require.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/rubygems/core_ext/kernel_require.rb b/lib/rubygems/core_ext/kernel_require.rb
index 5656524f337..7407c02931c 100755
--- a/lib/rubygems/core_ext/kernel_require.rb
+++ b/lib/rubygems/core_ext/kernel_require.rb
@@ -57,7 +57,6 @@ module Kernel
end
if spec = Gem.find_unresolved_default_spec(path)
- Gem.remove_unresolved_default_spec(spec)
begin
Kernel.send(:gem, spec.name, "#{Gem::Requirement.default}.a")
rescue Exception