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

Floating version dep on jar-dependencies clashes with JRuby's default version #82

Open
cburgmer opened this issue Dec 22, 2016 · 0 comments

Comments

@cburgmer
Copy link
Contributor

We are using jruby 9.1.6.0 and with using jbundler 0.9.3 bundler itself fails to satisfy all dependencies.

We require jbundler via gem "jbundler".

$ bundle exec jbundler install
bundler: failed to load command: jbundle (/tmp/vendor/bundle/jruby/2.3.0/bin/jbundle)
Gem::LoadError: You have already activated jar-dependencies 0.3.5, but your Gemfile requires jar-dependencies 0.3.7. Prepending `bundle exec` to your command may solve this.
  /tmp/jruby/lib/ruby/gems/shared/gems/bundler-1.13.6/lib/bundler/runtime.rb:40:in `block in setup'
  org/jruby/RubyArray.java:1734:in `each'
  org/jruby/RubyEnumerable.java:829:in `map'
  /tmp/jruby/lib/ruby/gems/shared/gems/bundler-1.13.6/lib/bundler/runtime.rb:25:in `setup'
  /tmp/jruby/lib/ruby/gems/shared/gems/bundler-1.13.6/lib/bundler.rb:99:in `setup'
  /tmp/jruby/lib/ruby/gems/shared/gems/bundler-1.13.6/lib/bundler/setup.rb:20:in `<main>'
  org/jruby/RubyKernel.java:959:in `require'
  /tmp/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55:in `require'

Our current workaround is to force gem "jar-dependencies", "0.3.5" before declaring jbundler.

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