diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-18 02:06:39 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-18 02:06:39 +0000 |
commit | c2606d23c5cb25bdddf8e32a811da773b82b2d60 (patch) | |
tree | f06155f153b8e8dec89c1bc46dc13d5d27e2f4e9 | |
parent | e814e2ff3a6a970e88843cc6ff1e161075931e8e (diff) | |
download | ruby-c2606d23c5cb25bdddf8e32a811da773b82b2d60.tar.gz |
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
-rw-r--r-- | test/ruby/test_require.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_require.rb b/test/ruby/test_require.rb index bbfc6e619c..3d6981d303 100644 --- a/test/ruby/test_require.rb +++ b/test/ruby/test_require.rb @@ -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 |