Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JRuby] Tests fail with jar-dependencies version mismatch #200

Open
mkasberg opened this issue Aug 30, 2022 · 0 comments
Open

[JRuby] Tests fail with jar-dependencies version mismatch #200

mkasberg opened this issue Aug 30, 2022 · 0 comments

Comments

@mkasberg
Copy link
Contributor

Our JRuby tests are failing with this error:

Gem::LoadError: You have already activated jar-dependencies 0.4.1, but your Gemfile requires jar-dependencies 0.4.2. Since jar-dependencies is a default gem, you can either remove your dependency on it or try updating to a newer version of bundler that supports jar-dependencies as a default gem.

Triggered by this command:

bundle exec ruby -Ilib:test -I/home/runner/.rubies/jruby-9.3.4.0/lib/ruby/gems/shared/gems/rake-12.3.3/lib /home/runner/.rubies/jruby-9.3.4.0/lib/ruby/gems/shared/gems/rake-12.3.3/lib/rake/rake_test_loader.rb ./test/backends/backend_memory_test.rb ./test/backends/backend_redis_test.rb ./test/bayes/bayesian_integration_test.rb ./test/bayes/bayesian_memory_test.rb ./test/bayes/bayesian_redis_test.rb ./test/extensions/hasher_test.rb ./test/extensions/matrix_test.rb ./test/extensions/zero_vector_test.rb ./test/lsi/lsi_test.rb ./test/lsi/word_list_test.rb

Though I suspect any bundle command with the BUNDLE_GEMFILE: Gemfile-jruby env variable set would cause this.

Looks to be possibly related to this issue: jruby/jruby#7262

I'm not sure what the right solution is yet but JRuby tests on GitHub Actions will fail in the mean time...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant