{"action":"created","issue":{"url":"https://api.github.com/repos/damian/jshint/issues/26","labels_url":"https://api.github.com/repos/damian/jshint/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/damian/jshint/issues/26/comments","events_url":"https://api.github.com/repos/damian/jshint/issues/26/events","html_url":"https://github.com/damian/jshint/issues/26","id":58458592,"number":26,"title":"Unable to run jshint command","user":{"login":"amnesia7","id":1161448,"avatar_url":"https://avatars.githubusercontent.com/u/1161448?v=3","gravatar_id":"","url":"https://api.github.com/users/amnesia7","html_url":"https://github.com/amnesia7","followers_url":"https://api.github.com/users/amnesia7/followers","following_url":"https://api.github.com/users/amnesia7/following{/other_user}","gists_url":"https://api.github.com/users/amnesia7/gists{/gist_id}","starred_url":"https://api.github.com/users/amnesia7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amnesia7/subscriptions","organizations_url":"https://api.github.com/users/amnesia7/orgs","repos_url":"https://api.github.com/users/amnesia7/repos","events_url":"https://api.github.com/users/amnesia7/events{/privacy}","received_events_url":"https://api.github.com/users/amnesia7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-21T12:57:01Z","updated_at":"2015-02-22T21:40:55Z","closed_at":null,"body":"I installed the gem and ran the config command to setup the config yml file.\r\n\r\nWhen I then run `bundle exec rake jshint` I get:\r\n```\r\nrake aborted!\r\nundefined method `[]' for nil:NilClass\r\n/home/amnesia7/.rvm/gems/ruby-2.0.0-p481@blog/gems/jshint-1.3.1/lib/jshint/tasks/jshint.rake:9:in `block (2 levels) in <top (required)>'\r\n/home/amnesia7/.rvm/gems/ruby-2.0.0-p481@blog/bin/ruby_noexec_wrapper:14:in `eval'\r\n/home/amnesia7/.rvm/gems/ruby-2.0.0-p481@blog/bin/ruby_noexec_wrapper:14:in `<main>'\r\nTasks: TOP => jshint => jshint:all => jshint:lint\r\n(See full trace by running task with --trace)\r\n```\r\nAny suggestions what's going wrong here?"},"comment":{"url":"https://api.github.com/repos/damian/jshint/issues/comments/75462395","html_url":"https://github.com/damian/jshint/issues/26#issuecomment-75462395","issue_url":"https://api.github.com/repos/damian/jshint/issues/26","id":75462395,"user":{"login":"amnesia7","id":1161448,"avatar_url":"https://avatars.githubusercontent.com/u/1161448?v=3","gravatar_id":"","url":"https://api.github.com/users/amnesia7","html_url":"https://github.com/amnesia7","followers_url":"https://api.github.com/users/amnesia7/followers","following_url":"https://api.github.com/users/amnesia7/following{/other_user}","gists_url":"https://api.github.com/users/amnesia7/gists{/gist_id}","starred_url":"https://api.github.com/users/amnesia7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amnesia7/subscriptions","organizations_url":"https://api.github.com/users/amnesia7/orgs","repos_url":"https://api.github.com/users/amnesia7/repos","events_url":"https://api.github.com/users/amnesia7/events{/privacy}","received_events_url":"https://api.github.com/users/amnesia7/received_events","type":"User","site_admin":false},"created_at":"2015-02-22T21:40:55Z","updated_at":"2015-02-22T21:40:55Z","body":"I've just tried temporarily updating rake just to see if it would help and after updating to `10.4.2` the jshint command ran and listed a load of stuff but then after the errors it said:\r\n```\r\n483 errors\r\nrake aborted!\r\n\r\n....then had the same error text as shown in my opening comment above\r\n```\r\nAny ideas @damian why it could be failing for me? \r\nUpdating rake is not an option for me. This was only to check if it was rake that was preventing the jshint command from running successfully."}}