Gem Command not found

前端 未结 14 1111
春和景丽
春和景丽 2021-01-30 08:21

I have installed gem on Ubuntu 10.10 32 bit with

apt-get install gem -y

But when I try to run

gem install something.gem
         


        
14条回答
  •  执笔经年
    2021-01-30 08:36

    On Debian, Ubuntu or Linux Mint:

    $ sudo apt-get install rubygems ruby-dev
    

    On CentOS, Fedora or RHEL:

    $ sudo yum install rubygems ruby-devel
    

提交回复
热议问题