CakePHP: - bash: cake: command not found

I have used CakePHP several times, but this is the first time I'm trying to bake. On my Mac, I run CakePHP 1.3, PHP5.3.3, and MySQL. I created the database tables and the application connects to the database.

I go to the console folder. and enter. / cake

I welcome the CakePHP v.1.3.5 console. Then I give a list of brackets to run. It says:

To run the command, enter 'cake shell_name [args]'

I am typing:

cake bake all 

and get

 -bash: cake: command not found 

Can anyone help me out here? I'm not sure I missed something.

Jonesi

+6
php cakephp cakephp-bake
source share
1 answer

I have no experience with CakePHP, but try adding. /

 ./cake bake all 
+9
source share

All Articles