Ruby> = 1.9 does not require jcode, the module for processing japanese strings (EUC / SJIS), since it supports the desired code natively.
This should fix the problem:
require 'jcode' if RUBY_VERSION < '1.9'
but I must say that I did not experience it deeply ...
source
share