Skip to content

Commit 1f0a382

Browse files
committed
Use the absolute path to the gem_test_pack
1 parent f201862 commit 1f0a382

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/truffle/ecosystem/blog.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ function truffleruby {
2727

2828
set -xe
2929

30-
jt gem-test-pack
31-
truffleruby gem install truffleruby-gem-test-pack/gem-cache/bundler-1.16.5.gem --local --no-document
30+
gem_test_pack="$(jt gem-test-pack)"
31+
truffleruby gem install "$gem_test_pack/gem-cache/bundler-1.16.5.gem" --local --no-document
3232

3333
# backup bin/rake, which gets overwritten
3434
cp bin/rake bin/rake-original
3535

3636
cd test/truffle/ecosystem/blog
3737

38-
truffleruby bundle config --local cache_path ../../../../truffleruby-gem-test-pack/gem-cache
38+
truffleruby bundle config --local cache_path "$gem_test_pack/gem-cache"
3939
truffleruby bundle config --local without postgresql mysql
4040

4141
truffleruby bundle install --local --no-cache

0 commit comments

Comments
 (0)