Can I install gems with apt-get on Ubuntu?

前端 未结 7 610
感情败类
感情败类 2021-02-02 07:27

I am new to Ruby and just diving in. The Ruby tutorial says I should get the packaging system from here: http://rubyforge.org/frs/?group_id=126

I am on Ubuntu Linux. The

7条回答
  •  臣服心动
    2021-02-02 07:46

    On Ubuntu 16.04 and Ubuntu 18.04, both sudo apt-get install rubygems and sudo apt-get install rubygems-integration failed for me. Instead, I had to do this:

    sudo apt-get install ruby-dev
    

提交回复
热议问题