ruby-changes:62106
From: Yusuke <ko1@a...>
Date: Fri, 3 Jul 2020 11:27:04 +0900 (JST)
Subject: [ruby-changes:62106] e6a8590aa4 (master): Reintroduce c565dfb09ad7d55fa671f65cea7088a914bf1931
https://git.ruby-lang.org/ruby.git/commit/?id=e6a8590aa4 From e6a8590aa4216915ee15a7b231189254b03c22b1 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh <mame@r...> Date: Fri, 3 Jul 2020 11:05:08 +0900 Subject: Reintroduce c565dfb09ad7d55fa671f65cea7088a914bf1931 diff --git a/test/json/test_helper.rb b/test/json/test_helper.rb index c5ec0fc..446c020 100644 --- a/test/json/test_helper.rb +++ b/test/json/test_helper.rb @@ -1,12 +1,12 @@ https://github.com/ruby/ruby/blob/trunk/test/json/test_helper.rb#L1 case ENV['JSON'] when 'pure' - $:.unshift 'lib' + $:.unshift File.join(__dir__, '../lib') require 'json/pure' when 'ext' - $:.unshift 'ext', 'lib' + $:.unshift File.join(__dir__, '../ext'), File.join(__dir__, '../lib') require 'json/ext' else - $:.unshift 'ext', 'lib' + $:.unshift File.join(__dir__, '../ext'), File.join(__dir__, '../lib') require 'json' end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/