Skip to content

Commit 555cd18

Browse files
committed
Try a workaround for the nested shebang problem on macOS
1 parent 04801a7 commit 555cd18

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

test/truffle/cexts/msgpack/msgpack.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ gem install "$(jt gem-test-pack)/gem-cache/bundler-1.16.5.gem" --local --no-docu
1111

1212
cd "$(jt gem-test-pack)/gem-testing/msgpack-ruby"
1313

14-
bundle config --local cache_path ./gem-cache
14+
# Use ruby -S to avoid the nested shebang problem on macOS
15+
ruby -S bundle config --local cache_path ./gem-cache
1516

16-
bundle install --local --no-cache
17-
bundle exec rake compile
18-
bundle exec rake spec
17+
ruby -S bundle install --local --no-cache
18+
ruby -S bundle exec rake compile
19+
ruby -S bundle exec rake spec

0 commit comments

Comments
 (0)