{"action":"created","issue":{"url":"https://api.github.com/repos/KrauseFx/PEM/issues/24","labels_url":"https://api.github.com/repos/KrauseFx/PEM/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/KrauseFx/PEM/issues/24/comments","events_url":"https://api.github.com/repos/KrauseFx/PEM/issues/24/events","html_url":"https://github.com/KrauseFx/PEM/issues/24","id":58154772,"number":24,"title":"Write Error","user":{"login":"bassrock","id":1010384,"avatar_url":"https://avatars.githubusercontent.com/u/1010384?v=3","gravatar_id":"","url":"https://api.github.com/users/bassrock","html_url":"https://github.com/bassrock","followers_url":"https://api.github.com/users/bassrock/followers","following_url":"https://api.github.com/users/bassrock/following{/other_user}","gists_url":"https://api.github.com/users/bassrock/gists{/gist_id}","starred_url":"https://api.github.com/users/bassrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bassrock/subscriptions","organizations_url":"https://api.github.com/users/bassrock/orgs","repos_url":"https://api.github.com/users/bassrock/repos","events_url":"https://api.github.com/users/bassrock/events{/privacy}","received_events_url":"https://api.github.com/users/bassrock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-19T01:08:10Z","updated_at":"2015-02-19T13:07:43Z","closed_at":null,"body":"I am getting the following error using pem as a regular user and as sudo:\r\n\r\n```\r\nPlease select the team number you would like to access: 2\r\nINFO [2015-02-18 17:04:43.26]: Login successful\r\nINFO [2015-02-18 17:04:54.78]: Push for app 'com.klinche.klinche' is enabled\r\nWARN [2015-02-18 17:04:54.78]: Creating push certificate for app 'com.demo.test'.\r\nINFO [2015-02-18 17:04:57.83]: Creating a signing certificate for you.\r\n/Users/daniel/Documents/PROJECT/gem/bundle/ruby/2.2.0/gems/pem-0.3.4/lib/pem/signing_request.rb:21:in `write': No such file or directory @ rb_sysopen - /tmp/PEM/PEMCertificateSigningRequest.certSigningRequest (Errno::ENOENT)\r\n\tfrom /Users/daniel/Documents/PROJECT/gem/bundle/ruby/2.2.0/gems/pem-0.3.4/lib/pem/signing_request.rb:21:in `generate'\r\n\tfrom /Users/daniel/Documents/PROJECT/gem/bundle/ruby/2.2.0/gems/pem-0.3.4/lib/pem/signing_request.rb:4:in `get_path'\r\n\tfrom /Users/daniel/Documents/PROJECT/gem/bundle/ruby/2.2.0/gems/pem-0.3.4/lib/pem/developer_center.rb:75:in `create_push_for_app'\r\n\tfrom /Users/daniel/Documents/PROJECT/gem/bundle/ruby/2.2.0/gems/pem-0.3.4/lib/pem/developer_center.rb:27:in `fetch_cer_file'\r\n\tfrom /Users/daniel/Documents/PROJECT/gem/bundle/ruby/2.2.0/gems/pem-0.3.4/lib/pem/cert_manager.rb:12:in `run'\r\n\tfrom /Users/daniel/Documents/PROJECT/gem/bundle/ruby/2.2.0/gems/pem-0.3.4/bin/pem:37:in `block (2 levels) in run'\r\n\tfrom /Users/daniel/Documents/PROJECT/gem/bundle/ruby/2.2.0/gems/commander-4.3.0/lib/commander/command.rb:179:in `call'\r\n\tfrom /Users/daniel/Documents/PROJECT/gem/bundle/ruby/2.2.0/gems/commander-4.3.0/lib/commander/command.rb:179:in `call'\r\n\tfrom /Users/daniel/Documents/PROJECT/gem/bundle/ruby/2.2.0/gems/commander-4.3.0/lib/commander/command.rb:154:in `run'\r\n\tfrom /Users/daniel/Documents/PROJECT/gem/bundle/ruby/2.2.0/gems/commander-4.3.0/lib/commander/runner.rb:421:in `run_active_command'\r\n\tfrom /Users/daniel/Documents/PROJECT/gem/bundle/ruby/2.2.0/gems/commander-4.3.0/lib/commander/runner.rb:81:in `run!'\r\n\tfrom /Users/daniel/Documents/PROJECT/gem/bundle/ruby/2.2.0/gems/commander-4.3.0/lib/commander/delegates.rb:15:in `run!'\r\n\tfrom /Users/daniel/Documents/PROJECT/gem/bundle/ruby/2.2.0/gems/pem-0.3.4/bin/pem:50:in `run'\r\n\tfrom /Users/daniel/Documents/PROJECT/gem/bundle/ruby/2.2.0/gems/pem-0.3.4/bin/pem:71:in `<top (required)>'\r\n\tfrom /Users/daniel/Documents/PROJECT/gem/bundle/ruby/2.2.0/bin/pem:23:in `load'\r\n\tfrom /Users/daniel/Documents/PROJECT/gem/bundle/ruby/2.2.0/bin/pem:23:in `<main>'\r\n```\r\nAnd this is the image that popped up after the failure:\r\n![error1424307898 copy](https://cloud.githubusercontent.com/assets/1010384/6260228/6d7b454e-b790-11e4-8a0b-0109d2acdefb.png)"},"comment":{"url":"https://api.github.com/repos/KrauseFx/PEM/issues/comments/75048825","html_url":"https://github.com/KrauseFx/PEM/issues/24#issuecomment-75048825","issue_url":"https://api.github.com/repos/KrauseFx/PEM/issues/24","id":75048825,"user":{"login":"KrauseFx","id":869950,"avatar_url":"https://avatars.githubusercontent.com/u/869950?v=3","gravatar_id":"","url":"https://api.github.com/users/KrauseFx","html_url":"https://github.com/KrauseFx","followers_url":"https://api.github.com/users/KrauseFx/followers","following_url":"https://api.github.com/users/KrauseFx/following{/other_user}","gists_url":"https://api.github.com/users/KrauseFx/gists{/gist_id}","starred_url":"https://api.github.com/users/KrauseFx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KrauseFx/subscriptions","organizations_url":"https://api.github.com/users/KrauseFx/orgs","repos_url":"https://api.github.com/users/KrauseFx/repos","events_url":"https://api.github.com/users/KrauseFx/events{/privacy}","received_events_url":"https://api.github.com/users/KrauseFx/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T13:07:42Z","updated_at":"2015-02-19T13:07:42Z","body":"In the mean time, you can manually run `mkdir -p /tmp/PEM`"}}