URL:
<http://savannah.nongnu.org/bugs/?41115>
Summary: Ruby plugin does not set encoding types on 2.x.x
Project: WeeChat
Submitted by: None
Submitted on: Mon 06 Jan 2014 02:10:27 AM UTC
Category: script plugin
Severity: 3 - Normal
Item Group: other
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email: [email protected]
Open/Closed: Open
Discussion Lock: Any
Release: 0.4.2
IRC nick: Alexis_Evo
_______________________________________________________
Details:
Found an annoying bug in the Ruby plugin, where the class Encoding is missing
several constants (such as ::UTF_8), after hours of debugging I tracked it
down to this line in /src/plugins/ruby/weechat-ruby.c.
" if RUBY_VERSION.split('.')[1] == '9'n"
This check is supposed to include additional files if the version is 1.9.x or
greater. Problem is, the current stable release of Ruby is 2.1.0. This type of
check is pretty atrocious, for obvious reasons. It either needs to be
rewritten, or support for 1.8.x should be dropped.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?41115>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
Weechat-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/weechat-dev