-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
composer needs HOME or COMPOSER_HOME to run properly #1
Comments
In theory this should be fixed now. I'll reopen it when it doesn't. |
I make composer.phar self-update but still get this err message. |
Same here. Do you need to be setting an environment variable for this when doing the auto update? Seems likely since it can't inherit from the shell. |
i guess so: igalic@levix /tmp % env -i sh
$ set
IFS='
'
OPTIND='1'
PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
PPID='13205'
PS1='$ '
PS2='> '
PS4='+ '
PWD='/tmp'
$ env
PWD=/tmp
$ /home/igalic/bin/composer self-update
[RuntimeException]
The HOME or COMPOSER_HOME environment variable must be set for composer to run correctly
self-update [-r|--rollback] [--clean-backups] [version]
$ |
this may be closely related to #7. |
This is actually working fine as proven by countless users (including myself) and Travis CI. |
The text was updated successfully, but these errors were encountered: