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

ruby-changes:71882

From: David <ko1@a...>
Date: Fri, 20 May 2022 07:05:34 +0900 (JST)
Subject: [ruby-changes:71882] 6850e3c42e (master): [rubygems/rubygems] Fix locale dependent spec failure

https://git.ruby-lang.org/ruby.git/commit/?id=6850e3c42e

From 6850e3c42ec85c49cc359539ca5f37831935ae74 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...>
Date: Tue, 10 May 2022 10:58:26 +0200
Subject: [rubygems/rubygems] Fix locale dependent spec failure

https://github.com/rubygems/rubygems/commit/1fd818743e
---
 spec/bundler/runtime/setup_spec.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spec/bundler/runtime/setup_spec.rb b/spec/bundler/runtime/setup_spec.rb
index 033102f4e3..b5f26f7006 100644
--- a/spec/bundler/runtime/setup_spec.rb
+++ b/spec/bundler/runtime/setup_spec.rb
@@ -774,7 +774,7 @@ end https://github.com/ruby/ruby/blob/trunk/spec/bundler/runtime/setup_spec.rb#L774
       run <<~RUBY
         puts ENV['MANPATH']
         require "open3"
-        puts Open3.capture2e("man", "ls")[0]
+        puts Open3.capture2e({ "LC_ALL" => "C" }, "man", "ls")[0]
       RUBY
 
       lines = out.split("\n")
-- 
cgit v1.2.1


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

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