jruby-openssl gem version conflict
bigsur0 opened this issue · 1 comments
bigsur0 commented
When adding the following to our Gemfile.
gem 'splunk-sdk-ruby', :git => 'https://github.com/splunk/splunk-sdk-ruby', :branch => 'develop'
We get the following version conflict upon running "bundle install"
Bundler could not find compatible versions for gem "jruby-openssl":
In snapshot (Gemfile.lock):
jruby-openssl (0.8.10)
In Gemfile:
splunk-sdk-ruby (>= 0) java depends on
jruby-openssl (~> 0.7.7) java
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
bigsur0 commented
Adding more detailed steps to reproduce the issue.
cmd: mkdir /tmp/splunk-sdk-ruby-conflict
cmd: cd !$
cmd: rvm use jruby
Using /Users/r6p/.rvm/gems/jruby-1.7.9
cmd: rvm gemset use splunk-sdk-ruby-conflict --create
Using jruby-1.7.9 with gemset splunk-sdk-ruby-conflict
cmd: echo "source 'https://rubygems.org'" >> Gemfile
cmd: echo "gem 'splunk-sdk-ruby', :git => 'https://github.com/splunk/splunk-sdk-ruby', :branch => 'develop'" >> Gemfile
cmd: echo "gem ‘buildr’, '>=1.4.19'" >> Gemfile
cmd: cat Gemfile
source 'https://rubygems.org'
gem 'splunk-sdk-ruby', :git => 'https://github.com/splunk/splunk-sdk-ruby', :branch => 'develop'
gem 'buildr', ">=1.4.19"
cmd: bundle install
Fetching gem metadata from https://rubygems.org/......
Fetching additional metadata from https://rubygems.org/..
Resolving dependencies...
Bundler could not find compatible versions for gem "jruby-openssl":
In snapshot (Gemfile.lock):
jruby-openssl (0.7.7)
In Gemfile:
buildr (>= 1.4.19) java depends on
jruby-openssl (~> 0.8.2) java
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.