Created
July 10, 2021 02:19
-
-
Save hochun836/e4fdbcb7eacf2c0f8c7bff69f43f64de to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # rvm | |
| rvm list // list installed interpreters | |
| rvm list known // list available interpreters | |
| rvm install <version> // install ruby interpreter | |
| rvm use <version> // switch to specified ruby interpreter | |
| rvm remove <version> // remove ruby interpreter (alias: delete) | |
| rvm get <version> // upgrade rvm: stable, master | |
| ls -al ~/.rvm/ | |
| # ruby | |
| ruby -h // -h <=> --help | |
| ruby -v // print version number, then turn on verbose mode | |
| # gem | |
| gem -h // -h <=> --help | |
| gem -v // -v <=> --version | |
| gem install <package> // in gem, a package is a gem | |
| gem list // list installed gems |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment