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

Add uses_libruby setting for libruby-agnostic gems #154

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

glebm
Copy link

@glebm glebm commented Jun 12, 2019

This is needed for gems that use the ffi gem instead of libruby.

Fixes #153

This is needed for gems that use the ffi gem instead of libruby.

Fixes rake-compiler#153
@kou
Copy link
Member

kou commented Jun 13, 2019

I don't want to add this option.
I want users to use cross_compiling block.

@glebm
Copy link
Author

glebm commented Jun 13, 2019

With the advent of Ruby FFI, I think it should be supported out of the box, because it's a common use-case and it's easy to get the configuration wrong (e.g. the if multi && !uses_libruby check).

I've filed a similar request in Ruby itself for mkmf:
https://bugs.ruby-lang.org/issues/15914

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.

Prevent rake-compiler from overriding required_ruby_version?
2 participants