Skip to content

Commit 1fd8187

Browse files
Fix locale dependent spec failure
1 parent e3a465b commit 1fd8187

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bundler/spec/runtime/setup_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ def clean_load_path(lp)
774774
run <<~RUBY
775775
puts ENV['MANPATH']
776776
require "open3"
777-
puts Open3.capture2e("man", "ls")[0]
777+
puts Open3.capture2e({ "LC_ALL" => "C" }, "man", "ls")[0]
778778
RUBY
779779

780780
lines = out.split("\n")

0 commit comments

Comments
 (0)