bundler: bundler 4.0.9
ruby: cruby 3.4.9
jruby: jruby-10.0.4.0
arch: macos 26.4
- switch to cruby 3.4.9
rbenv local 3.4.9 - bundle install
- add platforms
bundle lock --add-platform arm64-darwin x86_64-linux universal-java PLATFORMSshould look like
PLATFORMS
aarch64-linux
aarch64-linux-musl
arm64-darwin
ruby
universal-java
x86_64-darwin
x86_64-linux
x86_64-linux-musl
- delete lock
rm Gemfile.lock - switch to JRuby
rbenv local jruby-10.0.4.0 - add platforms
bundle lock --add-platform arm64-darwin x86_64-linux universal-java - blows up
Fetching gem metadata from https://rubygems.org/........
Resolving dependencies...
Could not find gem 'activerecord-jdbcpostgresql-adapter (~> 72) jruby' with
platform 'universal-java' in rubygems repository https://rubygems.org/ or
installed locally.
The source contains the following gems matching
'activerecord-jdbcpostgresql-adapter (~> 72) jruby':
* activerecord-jdbcpostgresql-adapter-72.0-java
* activerecord-jdbcpostgresql-adapter-72.1-java