{"action":"created","issue":{"url":"https://api.github.com/repos/AtomLinter/linter-rubocop/issues/112","repository_url":"https://api.github.com/repos/AtomLinter/linter-rubocop","labels_url":"https://api.github.com/repos/AtomLinter/linter-rubocop/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/AtomLinter/linter-rubocop/issues/112/comments","events_url":"https://api.github.com/repos/AtomLinter/linter-rubocop/issues/112/events","html_url":"https://github.com/AtomLinter/linter-rubocop/issues/112","id":144034072,"number":112,"title":"Error: env: ruby: File name too long","user":{"login":"evanleck","id":21947,"avatar_url":"https://avatars.githubusercontent.com/u/21947?v=3","gravatar_id":"","url":"https://api.github.com/users/evanleck","html_url":"https://github.com/evanleck","followers_url":"https://api.github.com/users/evanleck/followers","following_url":"https://api.github.com/users/evanleck/following{/other_user}","gists_url":"https://api.github.com/users/evanleck/gists{/gist_id}","starred_url":"https://api.github.com/users/evanleck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanleck/subscriptions","organizations_url":"https://api.github.com/users/evanleck/orgs","repos_url":"https://api.github.com/users/evanleck/repos","events_url":"https://api.github.com/users/evanleck/events{/privacy}","received_events_url":"https://api.github.com/users/evanleck/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AtomLinter/linter-rubocop/labels/External","name":"External","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2016-03-28T17:35:27Z","updated_at":"2016-03-29T17:53:49Z","closed_at":"2016-03-28T22:35:34Z","body":"Hi, I'm getting the following error whenever I open up a Ruby file in Atom:\r\n\r\n```\r\nError: env: ruby: File name too long\r\n    at /Users/evan/.atom/packages/linter-rubocop/index.coffee:30:15\r\n```\r\n\r\nI poked around in the source but it wasn't super clear to me what was going on.\r\n\r\nThanks for taking a look!"},"comment":{"url":"https://api.github.com/repos/AtomLinter/linter-rubocop/issues/comments/203025736","html_url":"https://github.com/AtomLinter/linter-rubocop/issues/112#issuecomment-203025736","issue_url":"https://api.github.com/repos/AtomLinter/linter-rubocop/issues/112","id":203025736,"user":{"login":"Arcanemagus","id":427137,"avatar_url":"https://avatars.githubusercontent.com/u/427137?v=3","gravatar_id":"","url":"https://api.github.com/users/Arcanemagus","html_url":"https://github.com/Arcanemagus","followers_url":"https://api.github.com/users/Arcanemagus/followers","following_url":"https://api.github.com/users/Arcanemagus/following{/other_user}","gists_url":"https://api.github.com/users/Arcanemagus/gists{/gist_id}","starred_url":"https://api.github.com/users/Arcanemagus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arcanemagus/subscriptions","organizations_url":"https://api.github.com/users/Arcanemagus/orgs","repos_url":"https://api.github.com/users/Arcanemagus/repos","events_url":"https://api.github.com/users/Arcanemagus/events{/privacy}","received_events_url":"https://api.github.com/users/Arcanemagus/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T17:53:49Z","updated_at":"2016-03-29T17:53:49Z","body":"Depends on a lot of different things, I think one of the biggest factors is only in v1.7.0-beta0 and above (Atom's built in attempt to fix OS X giving it a blank environment). The helper library used to execute programs also does several things to attempt to work around this issue, @steelbrain would be the one to talk to for that.\r\n\r\nIt looks to me like something is sticking several parts of an init script in there, possibly a missing `'` or `\"` somewhere in your login script?"}}