Error sudo: gem: command not found

后端 未结 4 1380
日久生厌
日久生厌 2021-01-11 15:08

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

4条回答
  •  逝去的感伤
    2021-01-11 15:47

    Try without sudo. You should only use sudo if you did a root installation of ruby, which is not recommended.

提交回复
热议问题