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:
parent
e814e2ff3a
commit
c2606d23c5
1 changed files with 2 additions and 2 deletions
|
@ -509,7 +509,7 @@ class TestRequire < Test::Unit::TestCase
|
||||||
$: << a
|
$: << a
|
||||||
begin
|
begin
|
||||||
require "foo"
|
require "foo"
|
||||||
p :ng
|
p [:ng, $LOAD_PATH, ENV['RUBYLIB']]
|
||||||
rescue LoadError
|
rescue LoadError
|
||||||
end
|
end
|
||||||
def a.to_path
|
def a.to_path
|
||||||
|
@ -534,7 +534,7 @@ class TestRequire < Test::Unit::TestCase
|
||||||
$: << a
|
$: << a
|
||||||
begin
|
begin
|
||||||
require "foo"
|
require "foo"
|
||||||
p :ng
|
p [:ng, $LOAD_PATH, ENV['RUBYLIB']]
|
||||||
rescue LoadError
|
rescue LoadError
|
||||||
end
|
end
|
||||||
def a.to_str
|
def a.to_str
|
||||||
|
|
Loading…
Add table
Reference in a new issue