Fix some ruby snippets I broke