I installed watchr on OS X (10.8.3) using gem install watchr . And it is installed in / usr / bin / watchr
$ which watchr /usr/bin/watchr
However, when I tried to call it $ watchr -v , the system could not find it.
$ watchr -v -bash: /usr/local/bin/watchr: No such file or directory
I think this is due to the way the path is configured on my machine. My questions:
- What is the correct way to fix it?
- In general, which programs should go to
/usr/bin/ vs. /usr/local/bin/ ? - When I do this, for example.
$ /usr/bin/watchr -e 'watch(./hello.txt) ...' , are we looking at hello.txt in the current directory or in / usr / bin / ie in the same directory as watchr?
source share