-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Right now the compilation is done directly in the host. To compile gems on Linux this is problematic because it may end up compiling binaries that are incompatible with older linux versions.
For instance, if I compile the date gem on Ubuntu 24, then it's going to be incompatible on Ubuntu 22 and below. This is because the date gem makes use of strlcpy which is a new function added in glibc 2.38 (previously the function came from Ruby and exposed it conditionally using HAVE_STRLCPY).
If we run the compilation in a container we control the environment we are in and will be less prone to issues like this.
Metadata
Metadata
Assignees
Labels
No labels