rocketeers / rocketeer

Send your projects up in the clouds
http://rocketeer.autopergamene.eu/
MIT License
2.66k stars 217 forks source link

cd: command not found #774

Open nathanpurcell opened 6 years ago

nathanpurcell commented 6 years ago

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!