{"action":"created","issue":{"url":"https://api.github.com/repos/alchemy-fr/Zippy/issues/95","labels_url":"https://api.github.com/repos/alchemy-fr/Zippy/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/alchemy-fr/Zippy/issues/95/comments","events_url":"https://api.github.com/repos/alchemy-fr/Zippy/issues/95/events","html_url":"https://github.com/alchemy-fr/Zippy/issues/95","id":127442907,"number":95,"title":"No adapter available for tar.gz on this platform","user":{"login":"burnet","id":16777602,"avatar_url":"https://avatars.githubusercontent.com/u/16777602?v=3","gravatar_id":"","url":"https://api.github.com/users/burnet","html_url":"https://github.com/burnet","followers_url":"https://api.github.com/users/burnet/followers","following_url":"https://api.github.com/users/burnet/following{/other_user}","gists_url":"https://api.github.com/users/burnet/gists{/gist_id}","starred_url":"https://api.github.com/users/burnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burnet/subscriptions","organizations_url":"https://api.github.com/users/burnet/orgs","repos_url":"https://api.github.com/users/burnet/repos","events_url":"https://api.github.com/users/burnet/events{/privacy}","received_events_url":"https://api.github.com/users/burnet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/alchemy-fr/Zippy/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-19T13:12:08Z","updated_at":"2016-01-19T13:51:51Z","closed_at":null,"body":"Hi,\r\nI get an `NoAdapterOnPlatformException` when I attempt to create a tar.gz archive, not sure what I'm missing:\r\n\r\n````\r\n    $zippy = Zippy::load();\r\n    $zippy->create('test.tar.gz', 'testfiles/');\r\n````\r\n\r\ntar also fails, *No adapter available for tar on this platform*\r\n````\r\n    $zippy = Zippy::load();\r\n    $zippy->create('test.tar', 'testfiles/');\r\n````\r\n\r\nCreating a zip archive does succeed, however.\r\n\r\nZippy 0.3.2 on Ubuntu 14.04.3 LTS\r\n\r\nTrace:\r\n````\r\n\r\nFatal error:  Uncaught exception 'Alchemy\\Zippy\\Exception\\NoAdapterOnPlatformException' with message 'No adapter available for tar.gz on this platform' in /var/www/zippy-test/vendor/alchemy/zippy/src/Zippy.php:160\r\nStack trace:\r\n#0 /var/www/zippy-test/vendor/alchemy/zippy/src/Zippy.php(67): Alchemy\\Zippy\\Zippy->getAdapterFor('tar.gz')\r\n#1 /var/www/zippy-test/web/index.php(18): Alchemy\\Zippy\\Zippy->create('test.tar.gz', 'testfiles/')\r\n#2 {main}\r\n\r\nNext exception 'Alchemy\\Zippy\\Exception\\RuntimeException' with message 'Unable to create archive' in /var/www/zippy-test/vendor/alchemy/zippy/src/Zippy.php:70\r\nStack trace:\r\n#0 /var/www/zippy-test/web/index.php(18): Alchemy\\Zippy\\Zippy->create('test.tar.gz', 'testfiles/')\r\n#1 {main}\r\n  thrown in /var/www/zippy-test/vendor/alchemy/zippy/src/Zippy.php on line 70\r\n````"},"comment":{"url":"https://api.github.com/repos/alchemy-fr/Zippy/issues/comments/172859819","html_url":"https://github.com/alchemy-fr/Zippy/issues/95#issuecomment-172859819","issue_url":"https://api.github.com/repos/alchemy-fr/Zippy/issues/95","id":172859819,"user":{"login":"burnet","id":16777602,"avatar_url":"https://avatars.githubusercontent.com/u/16777602?v=3","gravatar_id":"","url":"https://api.github.com/users/burnet","html_url":"https://github.com/burnet","followers_url":"https://api.github.com/users/burnet/followers","following_url":"https://api.github.com/users/burnet/following{/other_user}","gists_url":"https://api.github.com/users/burnet/gists{/gist_id}","starred_url":"https://api.github.com/users/burnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burnet/subscriptions","organizations_url":"https://api.github.com/users/burnet/orgs","repos_url":"https://api.github.com/users/burnet/repos","events_url":"https://api.github.com/users/burnet/events{/privacy}","received_events_url":"https://api.github.com/users/burnet/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T13:51:51Z","updated_at":"2016-01-19T13:51:51Z","body":"The code in the initial post is being run from the web server.\r\n\r\n````\r\n$ which tar\r\n/bin/tar\r\n````"}}