I\'m trying to install rubyrep on CentOS, and when executing sudo gem install rubyrep I get the error sudo: gem: command not found. Sudo and gem a
sudo gem install rubyrep
sudo: gem: command not found
Try without sudo. You should only use sudo if you did a root installation of ruby, which is not recommended.
sudo