-
Notifications
You must be signed in to change notification settings - Fork 55
Closed
Description
Steps to reproduce:
- Use Ruby 2.4.1
- Use Rails 5.1.4
rails new testapp- Add gem to
Gemfile- These both give the same results:
gem 'ldclient-rb', '~> 2.2.7'gem 'ldclient-rb', github: 'launchdarkly/ruby-client', ref: 'fbccbb1'
- These both give the same results:
bundle
Expected behavior is that the gem would install cleanly. Instead, I get:
Bundler could not find compatible versions for gem "nio4r":
In snapshot (Gemfile.lock):
nio4r (= 2.1.0)
In Gemfile:
rails (~> 5.1.4) was resolved to 5.1.4, which depends on
actioncable (= 5.1.4) was resolved to 5.1.4, which depends on
nio4r (~> 2.0)
ldclient-rb was resolved to 2.2.7, which depends on
ld-celluloid-eventsource (~> 0.10.0) was resolved to 0.10.0, which depends on
nio4r (~> 1.1)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
It looks like the nio4r version conflicts with that of ActionCable, a new feature/dependency of Rails 5.1.
I'm not sure what the upgrade path from nio4r 1.x to 2.x is. I looked at the docs and it was not obvious at all. Could someone shed any light on that?
Metadata
Metadata
Assignees
Labels
No labels