Update gemspec
Fix function for editor.coffee