How do I install Ruby 1.9.3 on Ubuntu without RVM?

后端 未结 4 1273
野趣味
野趣味 2021-02-02 12:23

I want to install ruby 1.9.3 on Ubuntu without rvm

I run

sudo apt-get install ruby

It\'s taking ruby 1.8 and ruby 1.9.1.

And i

4条回答
  •  难免孤独
    2021-02-02 12:57

    On Ubuntu 12.04 LTS, I got it to work with the following:

    sudo apt-get install ruby 1.9.3
    cd /etc/alternatives
    sudo ln -sf /usr/bin/ruby1.9.3 ruby
    

提交回复
热议问题