Skip to content

Conversation

deivid-rodriguez
Copy link

@deivid-rodriguez deivid-rodriguez commented Aug 13, 2025

In RubyGems, we are considering to stop installing extensions into the lib directory of the installed gem.

If we made such change, this gem would break because it relies on the extension being present in the same directory as lib code.

This PR changes things to not make such assumption and instead rely on the $LOAD_PATH.

In the future, RubyGems may stop copying compiled extensions into the
installed gem lib's directory, and may only install them into
arch-specific locations.

So it's better to not rely on the extension being present there, and
rely on the `$LOAD_PATH` instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant