Update ruby snippets

* remove obsolete magic-encoding comment
* use double quoted string in `require`