-
Notifications
You must be signed in to change notification settings - Fork 44
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 vendor/bin not set in $PATH and owner issue. #210
Comments
@strausmann
|
this is not about running composer from the vendor/bin directory. Since I'm using GitLab, I can't use the GitHub changelogger which is already integrated in this project. As an alternative I use this project here. https://github.com/churchtools/changelogger For the installation I often use the installation into the Global Composer directory and not into the composer directory of the project itself.
So that the command "changelogger" works then, the vendor/bin directories must be deposited in $PATH. |
gitpod-laravel-starter/.gp/bash/init-complete.sh Lines 19 to 22 in 32419c8
If you execute this line after the project has been completely loaded in the workspace, everything works as well. The vendir/bin paths can be found in the $PATH. I don't understand why it doesn't work in the init-complete.sh or before-tasks.sh though.... |
I get it now. I feel like this is a regression. It could be some wierdness with Gitpod prebuilds and the |
Describe the bug
Setting the BIN directories of the composer vendor directory are not set correctly when starting the workspace.
Normally this should be set via this command.
gitpod-laravel-starter/.gp/bash/init-complete.sh
Lines 19 to 22 in 32419c8
In addition, the Composer Global folder belongs to the owner "root:root" and not "gitpod:gitpod".
Screenshots
Steps to reproduce
echo $PATH | grep vendor
Expected behavior
Additional information
The text was updated successfully, but these errors were encountered: