Fix ruby snippets with the same name