Add magic comments to your ruby files
Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 1 commit behind mrsimo:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
magic-commenter.gemspec

README.md

magic-commenter

Install and execute:

$ [sudo] gem install magic-commenter
$ magic-commenter

It will iterate through all your .rb and .rake files and add utf8 magic comment if the paring fails with a multibyte error.