-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
NameError: uninitialized constant RubyVM for non-CRuby #3375
Comments
I'm not familiar with TruffleRuby. But, other C-Ruby implementation can be handle to install C extension such as cool.io, msgpack-ruby and other gems? |
Yes, TruffleRuby supports C extensions: https://github.com/oracle/truffleruby/blob/master/doc/user/compatibility.md |
I'd confirmed that |
Fixed by #3376 |
Thank you for the fix! |
Check CONTRIBUTING guideline first and here is the list to help us investigate the problem.
Describe the bug
Starting fluentd on any other implementation than CRuby (e.g. TruffleRuby) causes:
due to
fluentd/bin/fluentd
Line 4 in 5bd3346
#1764
To Reproduce
I used https://github.com/fluent/fluentd-benchmark/tree/master/one_forward but any fluent command would do
Expected behavior
It should work.
The
rescue nil
is not enough, for instance this also fails on CRuby:I think the issue is the
rescue nil
only applies to{trace_instruction: false}
and not the whole assignment.Your Environment
fluentd --version
ortd-agent --version
: 1.12.3The text was updated successfully, but these errors were encountered: