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

Distribute pre-compiled nio4r #247

Open
HoneyryderChuck opened this issue Sep 9, 2020 · 2 comments
Open

Distribute pre-compiled nio4r #247

HoneyryderChuck opened this issue Sep 9, 2020 · 2 comments

Comments

@HoneyryderChuck
Copy link
Contributor

nokogiri is about to distribute its first version not requiring compilation on install. From what I gathered, the bulk of the work is being handled by rake-compiler-dock, while additional "magic" is done to handle the darwin/alpine case.

How hard would it be to integrate it in nio4r? I'm asking because it's a direct rails/puma dependency, whose compilation times are noticeable on install time, and influences the size of docker images, which have to have the gcc "toolchain" available.

@ioquatix
Copy link
Member

I would be happy to work towards this. I'm not sure what the final solution looks like, as I'm trying to avoid using rake, but I'd be happy to explore options.

@HoneyryderChuck
Copy link
Contributor Author

HoneyryderChuck commented Sep 10, 2020

I'm trying to avoid using rake...

What's the issue with rake you're trying to avoid? What's the alternative? AFAICT nio4r already uses rake-compiler for the java builds, and I personally like the convenience of rake release, for instance.

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

No branches or pull requests

2 participants