Skip to content

Instantly share code, notes, and snippets.

@sandinist
Created January 11, 2012 06:08
Show Gist options
  • Save sandinist/1593309 to your computer and use it in GitHub Desktop.
Save sandinist/1593309 to your computer and use it in GitHub Desktop.
magic comment for all .rb
ruby -p -i -0777 -e '$_.insert(0,"# encoding : UTF-8\n")' **/*.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment