Failed to load thrift_native extension. Default for pure Ruby libraries

when i run the ruby ​​code i get

 Unable to load thrift_native extension. Defaulting to pure Ruby libraries.

How do I ignore this message?

+5
source share
2 answers

If this is a Ruby warning message and you just don't want to see it, this should answer your question.

How to disable the warning to override the constant when loading a file

0
source

I am using Jruby.

I got rid of this warning by adding an empty file named "thrift_native.rb" to the directory in my $ LOAD_PATH, which takes precedence over the thrift folder.

"app-root", Gemfile.

0

All Articles