diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2022-05-10 10:58:26 +0200 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-05-20 07:05:19 +0900 |
commit | 6850e3c42ec85c49cc359539ca5f37831935ae74 (patch) | |
tree | 4223fb2cb7371d915b76a0143640d38f36879751 | |
parent | cbfce40e5cb50bbbe4f0380363d0994c36073d22 (diff) | |
download | ruby-6850e3c42ec85c49cc359539ca5f37831935ae74.tar.gz |
[rubygems/rubygems] Fix locale dependent spec failure
https://github.com/rubygems/rubygems/commit/1fd818743e
-rw-r--r-- | spec/bundler/runtime/setup_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 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") |