diff options
author | David RodrÃguez <[email protected]> | 2019-05-19 11:31:17 -0400 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2019-08-17 07:35:48 +0900 |
commit | b8984370daaff4809b04330a6d7098f171568f79 () | |
tree | d2921895c0d293ed7d5492d40767ac25aebe937a /lib | |
parent | 37abd2c390bb93fe1a306465bb5de35feb70a82a (diff) |
[rubygems/rubygems] Fix jruby issue
https://.com/rubygems/rubygems/commit/fc3f722164
-rwxr-xr-x | lib/rubygems/core_ext/kernel_require.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -40,8 +40,8 @@ module Kernel rp = nil $LOAD_PATH[0...Gem.load_path_insert_index || -1].each do |lp| Gem.suffixes.each do |s| - full_path = File.join(lp, "#{path}#{s}") - if File.file?(File.expand_path(full_path)) rp = full_path break end |