tags:

views:

158

answers:

2

I'm running the latest MAMP (i think so) on my Mac (10.5.8, PPC G4) and i added the following to my .profile - file in my home directory:

export PATH=/Applications/MAMP/htdocs/lib/vendor/symfony/data/bin:$PATH

But my Terminal is somehow unable to find the command, and all i get is the following errors:

: command not found
: command not found
: command not found
: command not found

Any suggestions? Thx in advance.

+1  A: 

What do you get when you enter echo $PATH? Are you sure that .profile is being used? I've had to put my path additions in .bash_profile for them to be recognized.

donut
+1  A: 

what i usually does is to create a symlink to the utility or an alias.

alias symfony='/where/is/my/symfony/data/bin/symfony'

reload your terminal and the 'symfony' command should work :) else everytime you create a project with generate:project symfony creates a symfony file wich can be used as ./symfony

Henrik Bjørnskov