Open AndyObtiva opened 2 years ago
I missed this but here's the situation... We did release an updated jdbc-sqlite3 gem that includes Mac M1 support, but unfortunately the 60/61.x adapters are pinned to lower versions for some reason:
Bundler could not find compatible versions for gem "jdbc-sqlite3":
In Gemfile:
jdbc-sqlite3 (= 3.42.0.0)
activerecord-jdbcsqlite3-adapter was resolved to 61.2, which depends on
jdbc-sqlite3 (~> 3.8, < 3.30)
I don't know why we have it boxed this way, but it would be worth releasing updates for 60 and 61 that update the sqlite driver.
cc @kares @enebo
I've pushed #1137 to address this for 61.x. I believe 70.x already is working with newest jdbc-sqlite3.
When running
rails s
from a rails 6.1.5 created app (rails new app_name
) in JRuby 9.3.4.0 on an ARM64 (M1 Chip) Mac, I get the following error:I tried running
rails db:create
next, but I got an error too:These seem like ARM64 (AARCH64) related issues because I can run the same commands just fine on my Intel Mac from JRuby 9.3.4.0.