Skip to content

Commit 3e3172d

Browse files
committed
[GR-17457] Fix blog6 routes benchmark
PullRequest: truffleruby/3281
2 parents 80e6374 + 1aa6f0a commit 3e3172d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

bench/rails/blog6-setup.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ module Blog6Setup
66

77
def self.setup_bundler
88
Dir.chdir(BLOG6_DIR) do
9+
FileUtils.cp 'Gemfile.renamed', 'Gemfile'
910
FileUtils.cp 'Gemfile.lock.renamed', 'Gemfile.lock'
11+
1012
gem_test_pack = JT.gem_test_pack
1113
JT.ruby(*%w[-S bundle config --local cache_path], "#{gem_test_pack}/gem-cache")
1214
JT.ruby(*%w[-S bundle config --local without postgresql mysql])

test/truffle/ecosystem/blog-shared.sh.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ alias truffleruby="jt ruby -S"
88

99
gem_test_pack_path="$1"
1010

11+
# NOTE: part of this logic is duplicated in bench/rails/blog6-setup.rb
1112
# The Gemfile and Gemfile.lock are renamed to avoid GitHub thinking those gems are dependencies of TruffleRuby
1213
cp Gemfile.renamed Gemfile
1314
cp Gemfile.lock.renamed Gemfile.lock

0 commit comments

Comments
 (0)