You have the wrong way
When you do this:
$ cd /MyProject/app/Console $ ./cake bake
You start the click from inside the Console folder. This is not the right / normal way to perform a cli click.
As the output shows, cli believes that you want to bake a new project in the Console folder, because the path you are in is not a project in itself. This one changed a few months ago , but in the version of the cake you use, the directory you are in is considered your application folder.
However, a cake commonly used is:
$ cd /MyProject/app $ Console/cake bake Welcome to CakePHP v2.3.6 Console --------------------------------------------------------------- App : app Path /var/www/project/app/ --------------------------------------------------------------- Interactive Bake Shell --------------------------------------------------------------- [D]atabase Configuration [M]odel [V]iew [C]ontroller [P]roject [F]ixture [T]est case [Q]uit What would you like to Bake? (D/M/V/C/P/F/T/Q)
When already in the application folder, the bake command asks what you want to create.
source share