Skip to content

Commit a2d7632

Browse files
committed
Allow access to $HOME for TruffleRuby
See jruby/jruby#5661 for details
1 parent 04ede9e commit a2d7632

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.bazelrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ build --test_env=PYTHON_VERSION
5656

5757
build --test_env=RUBYOPT="-Irb/lib -w"
5858

59+
# JRuby/TruffleRuby: https://github.com/jruby/jruby/issues/5661
60+
build --action_env=HOME
61+
test --test_env=HOME
62+
5963
test --test_timeout=1800
6064

6165
test:node_debug --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results

rb/lib/selenium/webdriver/common/child_process.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def io
5252
end
5353

5454
def start
55-
options = {%i(out err) => io}
55+
options = {%i[out err] => io}
5656
options[:pgroup] = true unless Platform.windows? # NOTE: this is a bug only in Windows 7
5757

5858
WebDriver.logger.debug("Starting process: #{@command} with #{options}")

0 commit comments

Comments
 (0)