My question is related to another open question. My echo $PATH gives me an output which is like
gives me an output like
Command 'ifconfig' is available in '/sbin/ifconfig' The command could not be located because '/sbin' is not included in the PATH environment variable. This is most likely caused by the lack of administrative privileges associated with your user account. ifconfig: command not found
after running command like given in other question
it runs ifconfig but blocks other commands of ruby rails or rvm.
Seeking help how to resolve this. Also why this happens?