From: gf on
If your account can see ruby in /usr/local but root (sudo) can't, then
check the path for root. Sounds like it doesn't include 'usr/

From: Pen Ttt on
i use the command to install nokogiri successfully
sudo /usr/local/ruby/bin/gem install nokogiri,
can i change something in order to use command :sudo gem install any
other thing?
Posted via