Install ruby-uconv by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-uconv
Description:
Unicode/EUC-JP translation module for Ruby
The encoding translation module for the object-oriented scripting language Ruby 1.8. Supported character encodings are UCS-4, UTF-16, UTF-8, EUC-JP and CP932 (a variant of Shift_JIS for Japanese Windows). This cannot detect character encoding automatically.
Homepage: http://www.yoshidam.net/Ruby.html#uconv
Version: 0.6.1-3build2
Section: universe/ruby