-
Notifications
You must be signed in to change notification settings - Fork 435
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
With 0.16 getting "The executable for "composer" could not be found" during composer task #671
Comments
Thanks for reporting @jaydiablo, I am not sure why it worked in previous release. The Feel free to provide me additional information on the issue. |
Possibly caused by #556? |
This is the alias line in
I don't recall why it was installed this way (the official composer instructions seem to suggest naming the file @jyggen I suspect that could be the case as well. I'm not terribly familiar with the |
A yes, that's probably it. That one installed composer in I'm thinking of adding the phar suffix to the list of executables. That will fix this particular issue as well and might make sense. A temporary solution is to link, copy or move the phar to Edit: looks like you already answered most of the questions above ;) |
@veewee I don't recall why composer was installed this way, perhaps that was the recommended way when it was originally installed. I just tried the installer from the link I posted above, and all it does is download the phar file to the directory that it is run from. I've moved the phar file to just |
Hi @rjwebdev, Thanks for reporting! That is actually another case: You are using 2 separate bin dirs. It indeed worked in previous version, but rather by accident than by design. Can you give me more information about why those are in a separate folder? Edit
https://github.com/phpro/grumphp/blob/master/doc/installation/exotic.md |
Hello @veewee , Thanks for your answers! Our code is in the htdocs folder because this is the way of working at our firm. I'll give it a try by adding the path to my I'll keep you posted about the result! |
Hello @veewee, Binaries were indeed found by setting the |
I fixed the phar issue and added documentation about the PATH var. Lets continue the invalid path in the git hook inside the PR you opened. |
0.16.0
Seems that composer executable can't be found by 0.16 (this worked fine in 0.15), so when executing the composer task in grumphp, an error message is shown.
My configuration
Steps to reproduce:
Result:
Downgrading this particular repo to 0.15 doesn't have the issue.
Composer is installed globally on this system in
/usr/local/bin/composer.phar
and then aliased tocomposer
in.bash_profile
file.The text was updated successfully, but these errors were encountered: