{"action":"created","issue":{"url":"https://api.github.com/repos/rocketeers/rocketeer/issues/410","labels_url":"https://api.github.com/repos/rocketeers/rocketeer/issues/410/labels{/name}","comments_url":"https://api.github.com/repos/rocketeers/rocketeer/issues/410/comments","events_url":"https://api.github.com/repos/rocketeers/rocketeer/issues/410/events","html_url":"https://github.com/rocketeers/rocketeer/issues/410","id":54698415,"number":410,"title":"The Composer package manager could not be found","user":{"login":"thasmo","id":184284,"avatar_url":"https://avatars.githubusercontent.com/u/184284?v=3","gravatar_id":"","url":"https://api.github.com/users/thasmo","html_url":"https://github.com/thasmo","followers_url":"https://api.github.com/users/thasmo/followers","following_url":"https://api.github.com/users/thasmo/following{/other_user}","gists_url":"https://api.github.com/users/thasmo/gists{/gist_id}","starred_url":"https://api.github.com/users/thasmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thasmo/subscriptions","organizations_url":"https://api.github.com/users/thasmo/orgs","repos_url":"https://api.github.com/users/thasmo/repos","events_url":"https://api.github.com/users/thasmo/events{/privacy}","received_events_url":"https://api.github.com/users/thasmo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rocketeers/rocketeer/labels/bugs/bug","name":"bugs/bug","color":"E74C3C"},{"url":"https://api.github.com/repos/rocketeers/rocketeer/labels/bugs/unverified","name":"bugs/unverified","color":"bdc3c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-01-18T14:40:45Z","updated_at":"2015-01-25T23:39:27Z","closed_at":null,"body":"When running `rocketeer check -vvv` the following is output:\r\n```shell\r\n| Check (Check if the server is ready to receive the application) [~5.56s]\r\n|-- Check/Php (Checks if the server is ready to receive a PHP application)\r\n|=> Checking presence of git\r\n$ git --version\r\n[thasmo@example.com] (production) git version 1.8.2.1\r\n|=> Checking presence of Composer\r\n$ [ -e \"/home/thasmo/example.com/current/composer.json\" ] && echo \"true\"\r\n|=> Checking PHP version\r\n|=> Checking presence of required extensions\r\n$ /package/host/localhost/php-5.5/bin/php -r=\"print defined('HHVM_VERSION') ? HHVM_VERSION : PHP_VERSION;\"\r\n$ /package/host/localhost/php-5.5/bin/php -m\r\n[thasmo@example.com] (production) PHP Warning:  PHP Startup: Unable to load dynamic library '/home/thasmo/pecl/apc.so' - /home/thasmo/pecl/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0\r\nPHP Warning:  PHP Startup: Unable to load dynamic library '/home/thasmo/pecl/memcache.so' - /home/thasmo/pecl/memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0\r\n[thasmo@example.com] (production) [PHP Modules]\r\n[thasmo@example.com] (production) bcmath\r\ncalendar\r\nCore\r\nctype\r\ncurl\r\n[thasmo@example.com] (production) date\r\ndom\r\nereg\r\nexif\r\nfileinfo\r\nfilter\r\nftp\r\ngd\r\ngettext\r\nhash\r\niconv\r\nimap\r\nintl\r\n[thasmo@example.com] (production) json\r\nldap\r\nlibxml\r\nmbstring\r\nmcrypt\r\nmysql\r\nmysqli\r\nmysqlnd\r\nopenssl\r\npcntl\r\n[thasmo@example.com] (production) pcre\r\nPDO\r\npdo_mysql\r\npdo_pgsql\r\npdo_sqlite\r\npgsql\r\nPhar\r\nposix\r\npspell\r\nReflection\r\n[thasmo@example.com] (production) session\r\nshmop\r\nSimpleXML\r\nsoap\r\nsockets\r\nSPL\r\nsqlite3\r\nstandard\r\nsysvmsg\r\nsysvsem\r\n[thasmo@example.com] (production) sysvshm\r\ntidy\r\ntokenizer\r\nxml\r\nxmlreader\r\nxmlrpc\r\nxmlwriter\r\nxsl\r\nzip\r\nzlib\r\n[thasmo@example.com] (production) [Zend Modules]\r\n|=> Checking presence of required drivers\r\nThe Composer package manager could not be found\r\nThe tasks queue was canceled by task \"Check\"\r\nExecution time: 4.5499s\r\nSaved logs to /cygdrive/s/Project/web/example.com/.rocketeer/logs/production--20150118.log\r\n```\r\nWhen logging in via SSH manually to the server `composer` is in the path and I can easily run it by typing `composer`.\r\n\r\nWhy can't rocketeer find Composer? Any idea?"},"comment":{"url":"https://api.github.com/repos/rocketeers/rocketeer/issues/comments/71400194","html_url":"https://github.com/rocketeers/rocketeer/issues/410#issuecomment-71400194","issue_url":"https://api.github.com/repos/rocketeers/rocketeer/issues/410","id":71400194,"user":{"login":"errodr","id":5562619,"avatar_url":"https://avatars.githubusercontent.com/u/5562619?v=3","gravatar_id":"","url":"https://api.github.com/users/errodr","html_url":"https://github.com/errodr","followers_url":"https://api.github.com/users/errodr/followers","following_url":"https://api.github.com/users/errodr/following{/other_user}","gists_url":"https://api.github.com/users/errodr/gists{/gist_id}","starred_url":"https://api.github.com/users/errodr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/errodr/subscriptions","organizations_url":"https://api.github.com/users/errodr/orgs","repos_url":"https://api.github.com/users/errodr/repos","events_url":"https://api.github.com/users/errodr/events{/privacy}","received_events_url":"https://api.github.com/users/errodr/received_events","type":"User","site_admin":false},"created_at":"2015-01-25T23:39:27Z","updated_at":"2015-01-25T23:39:27Z","body":"I get similar results:\r\nvagrant@deploy:~/example_development$ rocketeer tinker\r\n\r\n> Psy Shell v0.3.3 (PHP 5.5.9-1ubuntu4.5 — cli) by Justin Hileman\r\n> $ssh->which('composer')\r\n=> \"/usr/local/bin/composer\"\r\n> exit\r\n> Exit:  Goodbye.\r\n\r\n\r\n> Check (Check if the server is ready to receive the application) [~0.53s]\r\n>-- Check/Php (Checks if the server is ready to receive a PHP application)\r\n> => Checking presence of svn\r\n>$ svn --version\r\n> [ericr@172.28.128.4] (production) svn, version 1.8.8 (r1568071)\r\n> [ericr@172.28.128.4] (production) compiled Aug 13 2014, 17:12:39 on x86_64-> pc-linux-gnu\r\n> [ericr@172.28.128.4] (production)\r\n> [ericr@172.28.128.4] (production) Copyright (C) 2013 The Apache Software Foundation.\r\n> This software consists of contributions made by many people;\r\n> see the NOTICE file for more information.\r\n> Subversion is open source software, see http://subversion.apache.org/\r\n> [ericr@172.28.128.4] (production) The following repository access (RA) modules are available:\r\n\r\n> * ra_svn : Module for accessing a repository using the svn network protocol.\r\n>   - with Cyrus SASL authentication\r\n>   - handles 'svn' scheme\r\n> * ra_local : Module for accessing a repository on local disk.\r\n>   - handles 'file' scheme\r\n> * ra_serf : Module for accessing a repository via WebDAV protocol using serf.\r\n>   - using serf 1.3.3\r\n>   - handles 'http' scheme\r\n>   - handles 'https' scheme\r\n> |=> Checking PHP version\r\n> |=> Checking presence of Composer\r\n> The Composer package manager could not be found\r\n> The tasks queue was canceled by task \"Check\"\r\n> Execution time: 0.444s"}}