うん、Perlでやればいい
最悪、

 system("perl post_to_twitter.pl #{message}")

とでもしてRubyスクリプトの中でPerlスクリプト呼べば普通にできる