Commit a38e60dd by Alex Chaffee

fix "sh: 3: source: not found" error in CI

parent 2f4f6347
...@@ -59,6 +59,11 @@ describe "annotate inside Rails, using #{CURRENT_RUBY}" do ...@@ -59,6 +59,11 @@ describe "annotate inside Rails, using #{CURRENT_RUBY}" do
output = ` output = `
( (
export AUTOMATED_TEST="#{BASEDIR}" export AUTOMATED_TEST="#{BASEDIR}"
# First, make sure we're not in 'sh' mode (I.E. strict-superset-of-Bourne
# mode), as RVM doesn't like this...
shopt -u -o posix
source .rvmrc && source .rvmrc &&
#{klass.test_commands} #{klass.test_commands}
) 2>&1`.chomp ) 2>&1`.chomp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment