I’ve created a plugin to automatically include #encoding: utf-8 on Ruby files when needed:
github.com/elomarns/auto-encoding-for-ruby