title: "sudo composer" command works but "composer" is not?
body: <p>This is going to be easy one I guess. On my OS X - Yosemite I have copied composer.phar to my <code>/usr/bin</code> directory. I have been using it for a while but today I needed to run "<code>composer update</code>". It didnt work of course so I ran "<code>sudo composer update</code>". Then I got the message "command composer not found". Chmm</p>
  
  <p>I copied composer to <code>/usr/local/bin</code> according to the documentation and now "<code>sudo composer</code>" works like charm. BUT when I run "<code>composer</code>" without sudo, it still uses the old one in "<code>/usr/bin</code>" directory. So I deleted it. </p>
  
  <p>Now composer works only with sudo command. I get "Could not open input file: /usr/bin/composer.phar" otherwise. What should I do to point command "<code>composer</code>" to the new location in <code>/usr/local/bin</code>?</p>