You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, extension gems are installed into a common directory regardless of the Ruby version in use. This can cause conflicts or compatibility issues when multiple Ruby versions are installed on the same machine.
The proposal is to install gems into separate directories for each Ruby version and platform. This can be done by extracting the Ruby version number and platform information from the output of ruby --version. For example, from:
extract 3.4.4-arm64-darwin24 and use this as the directory name for that Ruby version’s gems.
This approach will isolate gems per Ruby version and platform, preventing conflicts and improving stability when multiple Ruby versions are used on the same system.