2008/06/30 1:05 Yusuke ENDOH <mame / tsg.ne.jp>:
> Hi Eric,
>
> 2008/6/26 Eric Hodel <drbrain / segment7.net>:
>> Thank you, I have committed to RubyGems and updated ruby trunk.
>
> In my environment, two types of errors are still output.
>
>
(snip)
> Because of my locale, Japanese error message is output.
> I think that a test should basically not depend on such a message.
>
> Index: test/rubygems/test_gem_ext_configure_builder.rb
> ===================================================================
> --- test/rubygems/test_gem_ext_configure_builder.rb     (revision 17719)
> +++ test/rubygems/test_gem_ext_configure_builder.rb     (working copy)
> @@ -47,7 +47,7 @@
>       end
>     end
>
> -    shell_error_msg = %r{(\./configure: No such file or
> directory)|(Can't open \./configure)}
> +    shell_error_msg = %r{(\./configure:)|(Can't open \./configure)}
>     sh_prefix_configure = "sh ./configure --prefix="
>
>     expected = %r(configure failed:


Sorry, above patch doesn't work.

Index: test/rubygems/test_gem_ext_configure_builder.rb
===================================================================
--- test/rubygems/test_gem_ext_configure_builder.rb	(revision 17719)
+++ test/rubygems/test_gem_ext_configure_builder.rb	(working copy)
@@ -47,7 +47,7 @@
       end
     end

-    shell_error_msg = %r{(\./configure: No such file or
directory)|(Can't open \./configure)}
+    shell_error_msg = %r{(\./configure: .*)|(Can't open \./configure)}
     sh_prefix_configure = "sh ./configure --prefix="

     expected = %r(configure failed:

-- 
Yusuke ENDOH <mame / tsg.ne.jp>