How do I make Ruby 1.9 the default Ruby on Ubuntu?

前端 未结 5 877
天命终不由人
天命终不由人 2020-12-04 11:23

Is there any way, on Ubuntu 9.04, to install Ruby 1.8 as ruby1.8 (or get rid of it altogether) and have Ruby 1.9 be the default ruby?

5条回答
  •  既然无缘
    2020-12-04 11:49

    Martin - Take a look at the following link: http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/

    This is where installation of ruby is heading for ubuntu servers. This should allow you to not only switch to a ruby version when needed, but also keep gems separated based on ruby versions, etc.

提交回复
热议问题