I am ruby1.8 user, as well as gem; it's library manager system.
gem is able to install binaries, like rails and bundle.
But I could not get access for this guys until I added this line to my .bashrc :
export PATH=$PATH:/var/lib/gems/1.8/bin
So now, the binaries work, but not if I use sudo first!
fabianops ~/workspace3/peded $ sudo rails s thin -p80 -blocalhost --debugger
[sudo] password for fabianops:
sudo: rails: command not found
I need sudo to bind port 80, how can I use sudo rails .. ?
Never had that issue with Ubuntu 10.
update: I guess, what I want is for these PATH to be available system wide.