简体   繁体   中英

How to use the newest version of Ruby global on Linux?

I'm new to Ruby and Linux and I wonder if this is possible?

I always have to work with:

rvm --default use ruby-2.2.1

when I want to work in a new directory.

I'm running ubuntu 14.04 LTS. Any help appreciated!

You have two options:

  1. Set RVM to use that Ruby by default by using rvm --default use 2.2.1 .
  2. Use Brightbox's Ubuntu packages for Ruby, located at https://www.brightbox.com/docs/ruby/ubuntu/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM