Fixed issue with ruby.snippets