summaryrefslogtreecommitdiff
path: root/lib/rubygems.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rubygems.rb')
-rw-r--r--lib/rubygems.rb12
1 files changed, 5 insertions, 7 deletions
diff --git a/lib/rubygems.rb b/lib/rubygems.rb
index 64c21e1..84c1c74 100644
--- a/lib/rubygems.rb
+++ b/lib/rubygems.rb
@@ -1395,14 +1395,12 @@ begin
rescue LoadError
end
-if defined?(RUBY_ENGINE)
- begin
- ##
- # Defaults the Ruby implementation wants to provide for RubyGems
+begin
+ ##
+ # Defaults the Ruby implementation wants to provide for RubyGems
- require "rubygems/defaults/#{RUBY_ENGINE}"
- rescue LoadError
- end
+ require "rubygems/defaults/#{RUBY_ENGINE}"
+rescue LoadError
end
##