I followed composer manual (global installation of composer (manual)) to install composer on Ubuntu.
$ ll /usr/local/bin/
total 4760
drwxr-xr-x 2 root root 4096 2012-03-29 08:29 ./
drwxr-xr-x 10 root root 4096 2011-04-26 00:50 ../
-rwxr-xr-x 1 root root 410324 2012-03-29 08:28 composer.phar
Other scripts from /usr/local/bin/ works, but composer gives:
$php composer.phar update
Could not open input file: composer.phar
It works only if I enter absolute path to composer.phar.
How to fix this?