1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Show $LOAD_PATH and RUBYLIB to debug easier

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2012-12-18 02:06:39 +00:00
parent e814e2ff3a
commit c2606d23c5

View file

@ -509,7 +509,7 @@ class TestRequire < Test::Unit::TestCase
$: << a
begin
require "foo"
p :ng
p [:ng, $LOAD_PATH, ENV['RUBYLIB']]
rescue LoadError
end
def a.to_path
@ -534,7 +534,7 @@ class TestRequire < Test::Unit::TestCase
$: << a
begin
require "foo"
p :ng
p [:ng, $LOAD_PATH, ENV['RUBYLIB']]
rescue LoadError
end
def a.to_str