diff options
author | Hiroshi SHIBATA <[email protected]> | 2024-10-16 12:51:38 +0900 |
---|---|---|
committer | git <[email protected]> | 2024-10-16 04:34:21 +0000 |
commit | 3c1b0f21aa6dd7b7cfde67497c5b50717cdf14d2 (patch) | |
tree | cb3e91d4d06dabc05c0fabb9ce04b5308339deeb | |
parent | a4bb2491f0671a95476688a47b996441c76b1b18 (diff) |
[ruby/json] Fixed load path for ext version
https://github.com/ruby/json/commit/c17823688e
-rw-r--r-- | test/json/test_helper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/json/test_helper.rb b/test/json/test_helper.rb index 446c020e8f..10478aef7e 100644 --- a/test/json/test_helper.rb +++ b/test/json/test_helper.rb @@ -1,12 +1,12 @@ case ENV['JSON'] when 'pure' - $:.unshift File.join(__dir__, '../lib') + $:.unshift File.join(__dir__, '../../lib') require 'json/pure' when 'ext' - $:.unshift File.join(__dir__, '../ext'), File.join(__dir__, '../lib') + $:.unshift File.join(__dir__, '../../ext'), File.join(__dir__, '../../lib') require 'json/ext' else - $:.unshift File.join(__dir__, '../ext'), File.join(__dir__, '../lib') + $:.unshift File.join(__dir__, '../../ext'), File.join(__dir__, '../../lib') require 'json' end |