Closed aaronkelton closed 4 years ago
This issue was due to my Gemfile's Rails version being pinned at 5.0.0, and the dependency was for 5.0.3. 😬
I should have read the error message more closely. I looked at the squiggly and thought "Oh, 5.0.0 should be fine here." When in reality it meant "Don't go above 5.x but definitely no less than 5.0.3". I bumped my Gemfile Rails to 5.0.3 and got past the issue.
In Gemfile:
activerecord-jdbc-adapter java was resolved to 50.5, which depends on
activerecord (~> 5.0.0, >= 5.0.3) java
While trying to upgrade JRuby on Rails on Windows from 4.2.11.1 to 5.0.0, I got this error after running
bundle update rails
. I'm at my wits' end; any suggestions would be greatly appreciated:Here's the output from
bundle env
:Gemfile
Gemfile.lock
gem env
And for what it's worth,
gem install rails -v 5.0.0
andrails -v
: