Skip to content

Commit

Permalink
Ensure JRuby is used in release tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Jun 7, 2024
1 parent 397da1f commit 152b302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ namespace :release do
sh 'ruby -v'
sh 'bundle exec rake spec:installed'

env = { "PATH" => "#{ENV['CONCURRENT_JRUBY_HOME']}/bin:#{ENV['PATH']}" }
env = { "PATH" => "#{ENV.fetch('CONCURRENT_JRUBY_HOME')}/bin:#{ENV['PATH']}" }
sh env, 'ruby -v'
sh env, 'bundle exec rake spec:installed'
end
Expand Down

0 comments on commit 152b302

Please sign in to comment.