⚠️ This article was posted over 2 years ago. The information might be outdated. ⚠️
Table of Contents
- Frequently used commands
- lists all of the known ruby packages
- install the latest version of ruby-2.1.x
- use ruby-2.1.x
- which version of ruby are you currently using
- what location is the ruby binary being sourced from
- set the specified version to be the default version of ruby
- References
Frequently used commands
# lists all of the known ruby packages
$ rvm list known
# install the latest version of ruby-2.1.x
$ rvm install 2.1
# use ruby-2.1.x
$ rvm use 2.1
# which version of ruby are you currently using
$ ruby -v
# what location is the ruby binary being sourced from
$ which ruby
# set the specified version to be the default version of ruby
$ rvm use 2.1 --default