Use rake-compiler and rb-sys for build#1
Conversation
|
Hey @ianks, thanks for the PR, and all the work you're doing to make it easier to use Rust with Ruby. Will try this out when I have some time. Is it possible to make |
|
I hope this wonderful gem will be easy to install. |
|
Hey @ianks, sorry for the delay. Switched to Thanks again for all the work on |
|
Hey @ianks, Added precompiling for a few platforms in the commit above (it currently fails on Thanks again for all the work you've done on Ruby + Rust! |
|
Just released 0.2.0 with precompiled versions for Mac and x86-64 Linux. |
|
🔥 🔥 🔥
Just literally published a fix for that today in v0.9.47. Hopefully that fixed it!
Ah yes, it is actually just |
|
Thanks @ianks! Tried v0.9.47, but think it may solve a different issue (the |
|
Oof yeah that’s a bit of a doozy. Providing a cross platform version of OpenSSL should be possible in the |
This PR changes the build system to use rb-sys and rake-compiler to build the gem. With this change, it will be possible to publish native binaries of the gem so that consumers will not have to maintain a rust toolchain for deployment.
The actual publishing of the gem is not handled by this PR, but the
cross-buildGithub action will build a bunch of*.gemfiles which can pushed to Rubygems.❤️