Gladishmare
Gladishmare

Reputation: 343

using Console/cake on EC2

I'd to use the cakephp console on EC2 by this code :

sudo cd /path/to/cakephp/app && Console/cake

But weirdly I got this message:

No such file or directory

Upvotes: 1

Views: 257

Answers (1)

Gladishmare
Gladishmare

Reputation: 343

Solved by installing dos2unix .
First you have to install dos2unix

sudo yum install dos2unix or sudo apt-get install dos2unix 


Then run:

sudo dos2unix /path/to/app/Console/cake

Maybe you need also to grant

chmod -R 777 app/Console

Upvotes: 1

Related Questions