开发者

Unable to load thrift_native extension. Defaulting to pure Ruby libraries

开发者 https://www.devze.com 2023-03-21 10:06 出处:网络
when I execute a ruby code I get Unable to load thrift_native extension. Defaulting to pure Ruby libraries.

when I execute a ruby code I get

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

how I ignore this mes开发者_高级运维sage ?


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

How to disable warning for redefining a constant when loading a file


I'm using Jruby.

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

I Chose to simply add it in the same 'app-root' directory that my Gemfile is stored in.

0

精彩评论

暂无评论...
验证码 换一张
取 消