Update gems to latest versions.
Install a gem to automatically add a UTF-8 encoding comment to every Ruby file.
Add the UTF-8 character encoding marker to all Ruby files.