Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix loading on Ruby 3.2 #122

Merged
merged 4 commits into from
Jan 6, 2023
Merged

Fix loading on Ruby 3.2 #122

merged 4 commits into from
Jan 6, 2023

Conversation

malmckay
Copy link
Member

@malmckay malmckay commented Jan 6, 2023

RubyGems 3.4 will now clean up built artifacts after building extensions. Our previous require loaded the artifact from the ext directory.

This PR rescues from this load failure and loads the .bundle/.so instead. I briefly looked loading from the correct place, without this try/catch, that would take more work.

@malmckay malmckay changed the title Mmckay/fix 3.2 Fix loading on Ruby 3.2 Jan 6, 2023
@malmckay malmckay marked this pull request as ready for review January 6, 2023 19:37
@malmckay malmckay merged commit 767c9cb into master Jan 6, 2023
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