On Sun, Sep 02, 2012 at 03:13:05PM -0700, Jeremy Evans wrote: > This updates net/weechat,-ruby to use ruby 1.9. I'm not a weechat user, > but I tested this by doing /ruby load in weechat with the following > script and it seems to work: > > def weechat_init > Weechat.register("test_ruby", "FlashCode", "1.0", "GPL3", "Test script", > "", "") > Weechat.print("", "Hello, from ruby script! RUBY VERSION = #{RUBY_VERSION}") > return Weechat::WEECHAT_RC_OK > end > > Looking for OKs.
Not a developer and I didn't test the patch either, but when you say it builds and looking at the amount of scripts written in Ruby[1] I'd say go ahead... If somebody discovers breakage, you could easily contact the scripts author and patch the script to work with a current Ruby version. Regards Simon [1] http://weechat.org/scripts/stable/sort/language/