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.
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 runsudo -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 runningcd /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!