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

ruby-changes:15479

From: mame <ko1@a...>
Date: Sat, 17 Apr 2010 20:38:20 +0900 (JST)
Subject: [ruby-changes:15479] Ruby:r27380 (trunk): * test/ruby/envutil.rb: update Gem::ConfigMap to fake environment for

mame	2010-04-17 20:38:04 +0900 (Sat, 17 Apr 2010)

  New Revision: 27380

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

  Log:
    * test/ruby/envutil.rb: update Gem::ConfigMap to fake environment for
      tests.  Some test of rubygems had failed because envutil.rb changed
      only RbConfig::CONFIG but not Gem::ConfigMap.

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/envutil.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 27379)
+++ ChangeLog	(revision 27380)
@@ -1,3 +1,9 @@
+Sat Apr 17 20:34:09 2010  Yusuke Endoh  <mame@t...>
+
+	* test/ruby/envutil.rb: update Gem::ConfigMap to fake environment for
+	  tests.  Some test of rubygems had failed because envutil.rb changed
+	  only RbConfig::CONFIG but not Gem::ConfigMap.
+
 Sat Apr 17 20:31:08 2010  Yusuke Endoh  <mame@t...>
 
 	* lib/irb/ruby-lex.rb (identify_identifier): allow multibyte character
Index: test/ruby/envutil.rb
===================================================================
--- test/ruby/envutil.rb	(revision 27379)
+++ test/ruby/envutil.rb	(revision 27380)
@@ -216,5 +216,6 @@
     CONFIG['bindir'] = dir
     CONFIG['ruby_install_name'] = name
     CONFIG['RUBY_INSTALL_NAME'] = name
+    Gem::ConfigMap[:bindir] = dir
   end
 end

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

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