Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

cd: command not found #774

Open
nathanpurcell opened this issue Nov 12, 2018 · 0 comments
Open

cd: command not found #774

nathanpurcell opened this issue Nov 12, 2018 · 0 comments

Comments

@nathanpurcell
Copy link

I've discovered a strange behaviour that I cannot explain.
I have recently added Rocketeer to a new project of mine that is failing with the message cd: command not found due to it trying to run sudo -u root cd /var/www/....

The reason it's failing is because you cannot run cd as sudo.
The confusing part is that I have Rocketeer installed globally as per the instructions and this is the only project (of many) that this is happening to - all legacy projects are running correctly and I can see in the log that the are not running the same command. They are simply running cd /var/www/...

I am running Rocketeer 2.2.5 on Mojave, deploying to Ubuntu 16.
I have deleted the .rocketeer directory in the project in question and re-run rocketeer ignite.

Any help greatly appreciated!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant