{"action":"created","issue":{"url":"https://api.github.com/repos/jonlives/knife-spork/issues/172","labels_url":"https://api.github.com/repos/jonlives/knife-spork/issues/172/labels{/name}","comments_url":"https://api.github.com/repos/jonlives/knife-spork/issues/172/comments","events_url":"https://api.github.com/repos/jonlives/knife-spork/issues/172/events","html_url":"https://github.com/jonlives/knife-spork/issues/172","id":55199122,"number":172,"title":"No such file or directory @ rb_sysopen .../environments/foo.json","user":{"login":"mrjcleaver","id":59202,"avatar_url":"https://avatars.githubusercontent.com/u/59202?v=3","gravatar_id":"","url":"https://api.github.com/users/mrjcleaver","html_url":"https://github.com/mrjcleaver","followers_url":"https://api.github.com/users/mrjcleaver/followers","following_url":"https://api.github.com/users/mrjcleaver/following{/other_user}","gists_url":"https://api.github.com/users/mrjcleaver/gists{/gist_id}","starred_url":"https://api.github.com/users/mrjcleaver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrjcleaver/subscriptions","organizations_url":"https://api.github.com/users/mrjcleaver/orgs","repos_url":"https://api.github.com/users/mrjcleaver/repos","events_url":"https://api.github.com/users/mrjcleaver/events{/privacy}","received_events_url":"https://api.github.com/users/mrjcleaver/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/jonlives/knife-spork/milestones/5","labels_url":"https://api.github.com/repos/jonlives/knife-spork/milestones/5/labels","id":879588,"number":5,"title":"Version 1.5.0","description":"","creator":{"login":"jonlives","id":373232,"avatar_url":"https://avatars.githubusercontent.com/u/373232?v=3","gravatar_id":"","url":"https://api.github.com/users/jonlives","html_url":"https://github.com/jonlives","followers_url":"https://api.github.com/users/jonlives/followers","following_url":"https://api.github.com/users/jonlives/following{/other_user}","gists_url":"https://api.github.com/users/jonlives/gists{/gist_id}","starred_url":"https://api.github.com/users/jonlives/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonlives/subscriptions","organizations_url":"https://api.github.com/users/jonlives/orgs","repos_url":"https://api.github.com/users/jonlives/repos","events_url":"https://api.github.com/users/jonlives/events{/privacy}","received_events_url":"https://api.github.com/users/jonlives/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":2,"state":"open","created_at":"2014-11-25T09:33:05Z","updated_at":"2015-01-26T15:33:13Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-01-22T19:43:20Z","updated_at":"2015-01-26T15:34:29Z","closed_at":null,"body":"Forgive my silly question but...\r\n\r\nWhy might:\r\n````\r\n knife spork environment create foo; \r\n knife spork environment check foo\r\n````\r\n then complain that \r\n````\r\nERROR: Errno::ENOENT: No such file or directory @ rb_sysopen - /Volumes/Storage/martincleaver/SoftwareDevelopment/Chef/environments/foo.json\r\n````\r\n\r\nSurely whatever it wanted would have been made as part of create?\r\n\r\nAnd, I'm clearly missing something because I get the same error when checking environments that do already exist in production.\r\n\r\nI don't use Berkshelf if that gives a clue. (Am using skip_berkshelf)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jonlives/knife-spork/issues/comments/71478927","html_url":"https://github.com/jonlives/knife-spork/issues/172#issuecomment-71478927","issue_url":"https://api.github.com/repos/jonlives/knife-spork/issues/172","id":71478927,"user":{"login":"jonlives","id":373232,"avatar_url":"https://avatars.githubusercontent.com/u/373232?v=3","gravatar_id":"","url":"https://api.github.com/users/jonlives","html_url":"https://github.com/jonlives","followers_url":"https://api.github.com/users/jonlives/followers","following_url":"https://api.github.com/users/jonlives/following{/other_user}","gists_url":"https://api.github.com/users/jonlives/gists{/gist_id}","starred_url":"https://api.github.com/users/jonlives/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonlives/subscriptions","organizations_url":"https://api.github.com/users/jonlives/orgs","repos_url":"https://api.github.com/users/jonlives/repos","events_url":"https://api.github.com/users/jonlives/events{/privacy}","received_events_url":"https://api.github.com/users/jonlives/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T15:34:29Z","updated_at":"2015-01-26T15:34:29Z","body":"That's happening because knife spork environment create doesn't actually create the local file, just creates the env on the server. Should be easy enough to add an option for it to do this though."}}