$ rvm list known
Warning, new version of rvm available '1.29.3', you are using older version '1.29.2'.
You can disable this warning with: echo rvm_autoupdate_flag=0 >> ~/.rvmrc
You can enable auto-update with: echo rvm_autoupdate_flag=2 >> ~/.rvmrc
# MRI Rubies[ruby-]1.8.6[-p420][ruby-]1.8.7[-head]# security released on head[ruby-]1.9.1[-p431][ruby-]1.9.2[-p330][ruby-]1.9.3[-p551][ruby-]2.0.0[-p648][ruby-]2.1[.10][ruby-]2.2[.6][ruby-]2.3[.3][ruby-]2.4[.0]ruby-head
# for forks use: rvm install ruby-head-<name> --url https://github.com/github/ruby.git --branch 2.2# JRubyjruby-1.6[.8]jruby-1.7[.26]jruby[-9.1.7.0]jruby-head
# Rubiniusrbx-1[.4.3]rbx-2.3[.0]
インストールしたいrubyのバージョンをインストール(今回はruby2.3.0をインストール)
1234567891011121314151617181920212223242526
$ rvm instlal 2.3.0
Warning, new version of rvm available '1.29.3', you are using older version '1.29.2'.
You can disable this warning with: echo rvm_autoupdate_flag=0 >> ~/.rvmrc
You can enable auto-update with: echo rvm_autoupdate_flag=2 >> ~/.rvmrc
Searching for binary rubies, this might take some time.
Found remote file https://rubies.travis-ci.org/ubuntu/14.04/x86_64/ruby-2.3.0.tar.bz2
Checking requirements for ubuntu.
Requirements installation successful.
ruby-2.3.0 - #configureruby-2.3.0 - #download % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
00000000 --:--:-- 0:00:01 --:--:-- 0
100 25.1M 100 25.1M 00 1073k 0 0:00:23 0:00:23 --:--:-- 1427k
No checksum for downloaded archive, recording checksum in user configuration.
ruby-2.3.0 - #validate archiveruby-2.3.0 - #extractruby-2.3.0 - #validate binaryruby-2.3.0 - #setupruby-2.3.0 - #gemset created /usr/local/rvm/gems/ruby-2.3.0@globalruby-2.3.0 - #importing gemset /usr/local/rvm/gemsets/global.gems...................................ruby-2.3.0 - #generating global wrappers........ruby-2.3.0 - #gemset created /usr/local/rvm/gems/ruby-2.3.0ruby-2.3.0 - #importing gemsetfile /usr/local/rvm/gemsets/default.gems evaluated to empty gem listruby-2.3.0 - #generating default wrappers........