mirror of
https://github.com/weechat/weechat.git
synced 2026-06-27 05:16:38 +02:00
Add support for encodings in Ruby 1.9
This commit is contained in:
@@ -901,6 +901,9 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
|
||||
"$stderr = WeechatOutputs\n"
|
||||
"begin"
|
||||
" if RUBY_VERSION.split('.')[1] == '9'\n"
|
||||
" require 'enc/encdb.so'\n"
|
||||
" require 'enc/trans/transdb.so'\n"
|
||||
"\n"
|
||||
" require 'thread'\n"
|
||||
" class ::Mutex\n"
|
||||
" def synchronize(*args)\n"
|
||||
|
||||
Reference in New Issue
Block a user