Skip to content

Commit a38e60d

Browse files
committed
fix "sh: 3: source: not found" error in CI
1 parent 2f4f634 commit a38e60d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

spec/integration/integration_spec.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@
5959
output = `
6060
(
6161
export AUTOMATED_TEST="#{BASEDIR}"
62+
63+
# First, make sure we're not in 'sh' mode (I.E. strict-superset-of-Bourne
64+
# mode), as RVM doesn't like this...
65+
shopt -u -o posix
66+
6267
source .rvmrc &&
6368
#{klass.test_commands}
6469
) 2>&1`.chomp

0 commit comments

Comments
 (0)