Hi,I'm trying to update gitlab to 17.6.5, but this version don't support ruby 3.1 anymore. So I'm trying to update from bookworm to trixie. But bundle install does not rebuild any native gems with the new ruby version. Is there a way to rebuild all native gems with the new ruby version?
If I manually run a gem install, it builds the extensions, but then I will need to do this for all native gems.
it suggests running commands like gem pristine ffi --version 1.17.1 But we will need to find out the names and versions of native gems manually. More details in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103306It looks like a bug in bundler to me, as the native extensions built for previous ruby version cannot satisfy the dependency requirement.
All packaged native gems gets upgraded if I declare a conflict against libruby (<< 1:3.3~) or remove libruby3.1 manually. The problem is gems installed by gem install or bundle install --prefer-local.
OpenPGP_0x8F53E0193B294B75.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature