Closed hurricup closed 3 years ago
Hi @hurricup, it doesn't look like we've released support for Rails 6.1 yet. Based on that trace, it looks like you are trying to use version 50.0 which only supports Rails 5.0. Can you update to the latest 6.0.x release and see if it is still an issue?
default Gemfile
generated by the rails
contains
gem 'activerecord-jdbcsqlite3-adapter'
And I expect it to insstall proper working version.
When i'm trying to specify dependency with version, like:
gem 'activerecord-jdbcsqlite3-adapter', '~>60.2'
I get an error:
Bundler could not find compatible versions for gem "activerecord":
In Gemfile:
activerecord-jdbcsqlite3-adapter (~> 60.2) java was resolved to 60.2, which
depends on
activerecord-jdbc-adapter (= 60.2) java was resolved to 60.2, which
depends on
activerecord (~> 6.0.0) java
rails (~> 6.1.0) java was resolved to 6.1.0, which depends on
activerecord (= 6.1.0) java
Ah, yeah it looks like we have the dependencies locked down now so it won't attempt to install the gem for the wrong version of Rails. We should probably fix the 50 version to do the same thing. At this point there isn't a release that is compatible with Rails 6.1 but you could potentially point it at the master branch for this repo and test it out with that until the new version is ready. @enebo @dr-itz do you have any more info on this?
I just created #1081 so we can have a 61.0 release soon.
Looking at the dependency problem in 50.x it turns out it's fixed with 50.1 whereas 50.0 has it wrong
61.0 was just put out. It will pick up that version now. Closing.
Fresh generated rails app with rails 6.1.0 Jruby 9.2.9.0 (Rvm-single, Linux)
On attempt to migrate:
I presume after https://github.com/rails/rails/commit/2291d4a94fd3aff61c77d1a2ad1e6186ed4c80a2