[前][次][番号順一覧][スレッド一覧]

ruby-changes:26384

From: naruse <ko1@a...>
Date: Tue, 18 Dec 2012 11:06:53 +0900 (JST)
Subject: [ruby-changes:26384] naruse:r38435 (trunk): Show $LOAD_PATH and RUBYLIB to debug easier

naruse	2012-12-18 11:06:39 +0900 (Tue, 18 Dec 2012)

  New Revision: 38435

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38435

  Log:
    Show $LOAD_PATH and RUBYLIB to debug easier

  Modified files:
    trunk/test/ruby/test_require.rb

Index: test/ruby/test_require.rb
===================================================================
--- test/ruby/test_require.rb	(revision 38434)
+++ test/ruby/test_require.rb	(revision 38435)
@@ -509,7 +509,7 @@ class TestRequire < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_require.rb#L509
           $: << 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 https://github.com/ruby/ruby/blob/trunk/test/ruby/test_require.rb#L534
           $: << a
           begin
             require "foo"
-            p :ng
+            p [:ng, $LOAD_PATH, ENV['RUBYLIB']]
           rescue LoadError
           end
           def a.to_str

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]