Ruby: how to add "# encoding: UTF-8" automatically?
Try magic_encoding gem, it can insert uft-8 magic comment to all ruby files in your app.
[EDIT]Having switched to SublimeText now I use auto-encoding-for-ruby plugin.
Try magic_encoding gem, it can insert uft-8 magic comment to all ruby files in your app.
[EDIT]Having switched to SublimeText now I use auto-encoding-for-ruby plugin.