{"action":"created","issue":{"url":"https://api.github.com/repos/matugm/ruby-navigator/issues/1","labels_url":"https://api.github.com/repos/matugm/ruby-navigator/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/matugm/ruby-navigator/issues/1/comments","events_url":"https://api.github.com/repos/matugm/ruby-navigator/issues/1/events","html_url":"https://github.com/matugm/ruby-navigator/issues/1","id":101022904,"number":1,"title":"Uncaught SyntaxError: Unexpected end of input","user":{"login":"scott-knight","id":516548,"avatar_url":"https://avatars.githubusercontent.com/u/516548?v=3","gravatar_id":"","url":"https://api.github.com/users/scott-knight","html_url":"https://github.com/scott-knight","followers_url":"https://api.github.com/users/scott-knight/followers","following_url":"https://api.github.com/users/scott-knight/following{/other_user}","gists_url":"https://api.github.com/users/scott-knight/gists{/gist_id}","starred_url":"https://api.github.com/users/scott-knight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scott-knight/subscriptions","organizations_url":"https://api.github.com/users/scott-knight/orgs","repos_url":"https://api.github.com/users/scott-knight/repos","events_url":"https://api.github.com/users/scott-knight/events{/privacy}","received_events_url":"https://api.github.com/users/scott-knight/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-14T14:35:29Z","updated_at":"2015-08-27T23:35:25Z","closed_at":null,"body":"1. Clicked toolbar on Packages > ruby-navigator > toggle\r\n\r\nIm running ruby 2.2.2 and rails 3.2\r\n\r\n**Atom Version**: 1.0.7\r\n**System**: Mac OS X 10.10.4\r\n**Thrown From**: [ruby-navigator](https://github.com/matugm/ruby-navigator) package, v0.5.0\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught SyntaxError: Unexpected end of input\r\n\r\n```\r\nAt file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.html#%7B%22locationsToOpen%22%3A%5B%7B%22pathToOpen%22%3A%22%2FUsers%2Fsknight%2Frails.projects%2Fpinsightmedia%2Fonelouder_ads.portal_engine%22%7D%5D%2C%22bootstrapScript%22%3A%22%2FApplications%2FAtom.app%2FContents%2FResources%2Fapp.asar%2Fsrc%2Fwindow-bootstrap.js%22%2C%22resourcePath%22%3A%22%2FApplications%2FAtom.app%2FContents%2FResources%2Fapp.asar%22%2C%22devMode%22%3Afalse%2C%22safeMode%22%3Afalse%2C%22profileStartup%22%3Afalse%2C%22appVersion%22%3A%221.0.7%22%2C%22initialPaths%22%3A%5B%22%2FUsers%2Fsknight%2Frails.projects%2Fpinsightmedia%2Fonelouder_ads.portal_engine%22%5D%7D:0\r\n\r\nSyntaxError: Unexpected end of input\r\n  at Object.parse (native)\r\n  at RubyNavigatorView.module.exports.RubyNavigatorView.load_data (/Users/sknight/.atom/packages/ruby-navigator/lib/ruby-navigator-view.coffee:33:21)\r\n  at Object.module.exports.RubyNavigator.toggle (/Users/sknight/.atom/packages/ruby-navigator/lib/ruby-navigator.coffee:33:26)\r\n  at atom-workspace.subscriptions.add.atom.commands.add.ruby-navigator:toggle (/Users/sknight/.atom/packages/ruby-navigator/lib/ruby-navigator.coffee:17:89)\r\n  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:241:29)\r\n  at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)\r\n  at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:156:19)\r\n  at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:70:30)\r\n  at emitOne (events.js:77:13)\r\n  at EventEmitter.emit (events.js:166:7)\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -9:20.2.0 core:copy (atom-text-editor.editor.is-focused)\r\n  2x -0:03.3.0 ruby-navigator:toggle (atom-text-editor.editor.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"themes\": [\r\n      \"one-dark-ui\",\r\n      \"railscasts-prime-syntax\"\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\natom-beautify, v0.28.11\r\nautocomplete-ruby, v0.1.0\r\ncolor-picker, v2.0.11\r\nhtml2haml, v0.10.0\r\nlanguage-haml, v0.21.0\r\nlanguage-slim, v0.5.0\r\nminimap, v4.12.3\r\npigments, v0.11.0\r\nrailscasts-prime-syntax, v1.0.1\r\nruby-block, v0.3.5\r\nruby-navigator, v0.5.0\r\nruby-slim, v0.2.0\r\ntrailing-spaces, v0.3.2\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/matugm/ruby-navigator/issues/comments/135584347","html_url":"https://github.com/matugm/ruby-navigator/issues/1#issuecomment-135584347","issue_url":"https://api.github.com/repos/matugm/ruby-navigator/issues/1","id":135584347,"user":{"login":"matugm","id":1369748,"avatar_url":"https://avatars.githubusercontent.com/u/1369748?v=3","gravatar_id":"","url":"https://api.github.com/users/matugm","html_url":"https://github.com/matugm","followers_url":"https://api.github.com/users/matugm/followers","following_url":"https://api.github.com/users/matugm/following{/other_user}","gists_url":"https://api.github.com/users/matugm/gists{/gist_id}","starred_url":"https://api.github.com/users/matugm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matugm/subscriptions","organizations_url":"https://api.github.com/users/matugm/orgs","repos_url":"https://api.github.com/users/matugm/repos","events_url":"https://api.github.com/users/matugm/events{/privacy}","received_events_url":"https://api.github.com/users/matugm/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T23:35:25Z","updated_at":"2015-08-27T23:35:25Z","body":"You need to generate that file, that's how the plugin knows what classes you have (this is explained in the plugin description).\r\n\r\nTo do that you will need to install the 'class-indexer' gem and run the 'indexer > class-index.json' command. The file must be on the root of your project directory. Note that you need to that before toggling the plugin on."}}