diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2009-12-14 23:33:33 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2009-12-14 23:33:33 +0100 |
commit | a48576566dbfe5aa43d86dc0729c586459d81ad3 (patch) | |
tree | 6e99c241f43b0aa3f12ccba63ebfaadc18c0b13b /src/plugins | |
parent | 62492bf1eb96a4f4d332fed94e7286e524cca28a (diff) | |
download | weechat-a48576566dbfe5aa43d86dc0729c586459d81ad3.zip |
Add support for encodings in Ruby 1.9
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/scripts/ruby/weechat-ruby.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/scripts/ruby/weechat-ruby.c b/src/plugins/scripts/ruby/weechat-ruby.c index 4f894cc4c..fc06f537c 100644 --- a/src/plugins/scripts/ruby/weechat-ruby.c +++ b/src/plugins/scripts/ruby/weechat-ruby.c @@ -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" |