Skip to content

Commit

Permalink
do not use appraisal command
Browse files Browse the repository at this point in the history
  • Loading branch information
p committed Nov 4, 2024
1 parent cca4eba commit 8cc6911
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ namespace :test do
command = if appraisal_group.empty?
"bundle exec rake #{spec_task}"
else
"bundle exec appraisal #{ruby_runtime}-#{appraisal_group} rake #{spec_task}"
gemfile = "gemfiles/#{ruby_runtime}-#{appraisal_group}.gemfile".tr('-', '_')"
"env BUNDLE_GEMFILE=gemfiles/#{gemfile} rake #{spec_task}"
end

command += "'[#{spec_arguments}]'" if spec_arguments
Expand Down

0 comments on commit 8cc6911

Please sign in to comment.