2
votes
1answer
99 views

“which rails” works.. but “rails --version” doesn't.. how come?

This may be related to what i did here.. but when I type the command which rails I get /usr/bin/rails but when i type rails --version I get: ...
0
votes
0answers
39 views

which command doesn't work after uninstalling fink

I was trying to install something using homebrew.. so it complained that I had more than one package manager (either macports or fink).. so I followed fink's uninstall instructions which instructed me ...
1
vote
2answers
321 views

“which” Program Requires Shell Refresh to See Newly Installed Programs?

Why does the Linux program which require you to refresh the shell (e.g. type tcsh in the terminal) to see new programs installed in your path?? I was baffled why I couldn't access a program, which ...
8
votes
3answers
711 views

`which python` points to the python I want, but `python` runs the wrong version

I want to use python24 provided by ports, so I've installed it, and python_select -s shows that the version I want is indeed selected. Running which python gives /opt/local/bin/python, and running ...