We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Minimal reproducible:
use rutie::{Module, VM}; fn main() { VM::init(); let rbconfig = Module::from_existing("RbConfig"); println!("{:?}", rbconfig); VM::exit(0); }
Logs:
Anything from require 'rbconfig' would fail with the same error, it did work at some point.
require 'rbconfig'
I have been using the macOS default Ruby from the very beginning and it does support SHARED
SHARED
The text was updated successfully, but these errors were encountered:
Can confirm if you load rbconfig with its absolute path, it'll work:
rbconfig
VM::require("/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin23/rbconfig.rb"); let bin_dir = unsafe { Module::from_existing("RbConfig").const_get("CONFIG").send("[]", &[RString::from("bindir").into()]).try_convert_to::<RString>().unwrap().to_string() }; println!("{}", bin_dir);
Output:
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin
Sorry, something went wrong.
No branches or pull requests
Minimal reproducible:
Logs:
![image](https://private-user-images.githubusercontent.com/25424409/322018968-905d1c2e-0999-4849-9445-534227cebb41.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0ODIzMTMsIm5iZiI6MTczOTQ4MjAxMywicGF0aCI6Ii8yNTQyNDQwOS8zMjIwMTg5NjgtOTA1ZDFjMmUtMDk5OS00ODQ5LTk0NDUtNTM0MjI3Y2ViYjQxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDIxMjY1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJlODhjNGY4OGZhZGJiMzE1NzQwNDBiYTdiMDZjMTlhNzk3Yzc4M2NhNjIyMTE5MGMzZjU3OTU5MTE5NWVmYTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.VM2h4Vqw1rfUwjoabe91f3C4d1kaaECR-z6tA7P7gpg)
Anything from
require 'rbconfig'
would fail with the same error, it did work at some point.I have been using the macOS default Ruby from the very beginning and it does support
SHARED
The text was updated successfully, but these errors were encountered: