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/
local/...'

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 http://www.ruby-forum.com/.