Skip to content

Commit

Permalink
Merge pull request #2859 from justinstoller/fix-specs
Browse files Browse the repository at this point in the history
(maint) Fix JRuby specs
  • Loading branch information
justinstoller authored Jun 3, 2024
2 parents a1da8dc + 2df96f5 commit 239cc23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,13 @@ end

namespace :spec do
task :init do
if ! Dir.exists? TEST_GEMS_DIR
if ! Dir.exist? TEST_GEMS_DIR
## Install bundler
## Line 1 launches the JRuby that we depend on via leiningen
## Line 2 programmatically runs 'gem install bundler' via the gem command that comes with JRuby
gem_install_bundler = <<-CMD
GEM_HOME='#{TEST_GEMS_DIR}' GEM_PATH='#{TEST_GEMS_DIR}' \
#{LEIN_PATH} gem install -i '#{TEST_GEMS_DIR}' bundler --no-document --source '#{GEM_SOURCE}'
#{LEIN_PATH} gem install -i '#{TEST_GEMS_DIR}' bundler --version 2.5.10 --no-document --source '#{GEM_SOURCE}'
CMD
sh gem_install_bundler

Expand Down

0 comments on commit 239cc23

Please sign in to comment.