Cake Bake On Mac OS X
Uploader Comments (wobito)
All Comments (14)
-
How to do this without MAMP? There are no instructions anywhere! I have this in .profile
export PATH=/usr/local/mysql/bin:/usr
/bin:/Users/ralphonz/Sites/Tes ting/Cake_Blog/app/cake/consol e:$PATH I just get -bash command not found, any help would be great
Thanks
-
Hey man, I'm having the same problem as The Chinsu. Everything set up fine but when I go to cake bake a project is comes up with -bash: cake: command not found. When I re-opened terminal it said that all of the directories I had set up were directories so that shouldn't be a problem. It's worth noting as well that it didn't even recognise ls as a command after I'd changed directory to the htdocs folder in MAMP. Any ideas?
-
All seemed OK. 'cake bake' worked fine but running the site gives this error.
Warning: include(cake/bootstrap.php) [function.include]: failed to open stream: No such file or directory in /Users/elijha/Sites/dvdtest/we
broot/index.php echo include path from webroot/ show this 'if' fails & stops the right folder loading.
if (function_exists('ini_set') && ini_set('include_path', CAKE_CORE_INCLUDE_PATH . PATH_SEPARATOR . ROOT . DS . APP_DIR . DS . PATH_SEPARATOR . ini_get('include_path')))
-
I have to take this back. This does not work for cake bake all. do you have any idea why the database connection does not connect properly?
-
Excellent! Thank You!
-
when I tried this it didn't work so did some googling. Not entirely sure why but the file I needed to edit was .bash_profile all other instructions exactly the same and it worked a treat! many thanks
-
I have it working now even when I don't know what was wrong :P
Two days later I just started all over again and got the mac baking in two minutes
Anyway, thank you very much for the answer
Hay dude thanks for the video. I'm new to both Mac and cakephp. So your help is needed!
Well, export PATH=/Applications/MAMP/Library/bin:/Applications/MAMP/bin/php5/bin:/Appl
ications/MAMP/htdocs/blog/cake/console:$PATH
into my terminal and push the 'esc' key as you say but it doesn't do nothing excepting moving the cursor a step forward and all i hear this funny noise from clicking any key. What I'm doing wrong?
AfgF16 2 years ago
@AfgF16 try pressing Shift ; then type wq to write the file and then quit vi
wobito 2 years ago
I only get this error, never mind where I try "cake bake" cmd "mysql":
-bash: cake: command not found
I've careful with the paths. Do you think this is a permissions problem?
TheChinsu 2 years ago
it shouldn't be a permissions problem, it can't find the cake command, meaning the path to the cake folder is incorrect or doesn't exist.
send me what is in your .profile so I can check the paths
wobito 2 years ago