Created
June 30, 2014 07:20
-
-
Save harrifeng/0af2bdf940e9462ca2e4 to your computer and use it in GitHub Desktop.
Understand the rvm usage. rvm --default use 1.9.3 will set 1.9.3 as default. You can use other ruby version by 'use', but you can always go back to default by rvm default
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hfeng@ubuntu-rvm-ct:~$ rvm list | |
rvm rubies | |
ruby-1.9.3-p547 [ x86_64 ] | |
=* ruby-2.1.1 [ x86_64 ] | |
# => - current | |
# =* - current && default | |
# * - default | |
hfeng@ubuntu-rvm-ct:~$ rvm use 1.9.3 | |
Using /home/hfeng/.rvm/gems/ruby-1.9.3-p547 | |
hfeng@ubuntu-rvm-ct:~$ rvm list | |
rvm rubies | |
=> ruby-1.9.3-p547 [ x86_64 ] | |
* ruby-2.1.1 [ x86_64 ] | |
# => - current | |
# =* - current && default | |
# * - default | |
hfeng@ubuntu-rvm-ct:~$ rvm default | |
hfeng@ubuntu-rvm-ct:~$ rvm list | |
rvm rubies | |
ruby-1.9.3-p547 [ x86_64 ] | |
=* ruby-2.1.1 [ x86_64 ] | |
# => - current | |
# =* - current && default | |
# * - default | |
hfeng@ubuntu-rvm-ct:~$ rvm --default use 1.9.3 | |
Using /home/hfeng/.rvm/gems/ruby-1.9.3-p547 | |
hfeng@ubuntu-rvm-ct:~$ rvm list | |
rvm rubies | |
=* ruby-1.9.3-p547 [ x86_64 ] | |
ruby-2.1.1 [ x86_64 ] | |
# => - current | |
# =* - current && default | |
# * - default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment