summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/rubygems.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rubygems.rb b/lib/rubygems.rb
index fcb1ebd3db..552c6f6b57 100644
--- a/lib/rubygems.rb
+++ b/lib/rubygems.rb
@@ -903,8 +903,8 @@ module Gem
# Suffixes for require-able paths.
def self.suffixes
- ['', '.rb', '.rbw', '.so', '.bundle', '.dll', '.sl', '.jar']
- end
+ ['.rb', ".#{RbConfig::CONFIG["DLEXT"]}"]
+ end unless defined?(suffixes)
##
# Prints the amount of time the supplied block takes to run using the debug