-
-
Notifications
You must be signed in to change notification settings - Fork 263
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
Support for shared built Rubies #43
Comments
Any platforms in particular? |
Any and all really! Trying to support as many as I can, but at the moment if it's not shared it really be embedded. |
I know of a commercial application that is using Window MinGW builds embedded, and I've hacked it to use an mswin build. Both work fine. |
So it works if it's got
|
OK, I'll try to use |
* Some use cases require libruby, such as ruby/setup-ruby#43
@kddeisz Could you try |
Interesting - I've got a new error now: https://github.com/prettier/plugin-ruby/pull/512/checks?check_run_id=543575032#step:11:14. |
I assume you're trying to require or process.dlopen() the node extension you built, and that links to libruby? Probably it doesn't find libruby.so.2.8 at runtime (because it only looks in /usr/lib, /usr/local/lib, etc). To fix that I think you need to pass |
* Some use cases require libruby, such as ruby/setup-ruby#43
As of https://github.com/ruby/setup-ruby/releases/tag/v1.28.0 all Ruby builds use |
Thanks for this! It's compiling on everything now. I still can't get it to actually find the |
In order to support embedding Ruby inside other C projects.
The text was updated successfully, but these errors were encountered: