1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-02 22:58:01 +00:00

Add Set RVM Default Ruby as a ruby til.

This commit is contained in:
jbranchaud
2015-11-05 13:20:07 -06:00
parent 0d093c8f3e
commit e50b0c6930
2 changed files with 10 additions and 0 deletions

View File

@@ -179,6 +179,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
- [Question Mark Operator](ruby/question-mark-operator.md)
- [Rake Only Lists Tasks With Descriptions](ruby/rake-only-lists-tasks-with-descriptions.md)
- [Replace The Current Process With An External Command](ruby/replace-the-current-process-with-an-external-command.md)
- [Set RVM Default Ruby](ruby/set-rvm-default-ruby.md)
- [Squeeze Out The Extra Space](ruby/squeeze-out-the-extra-space.md)
- [Summing Collections](ruby/summing-collections.md)
- [Uncaught Exceptions In Pry](ruby/uncaught-exceptions-in-pry.md)

View File

@@ -0,0 +1,9 @@
# Set RVM Default Ruby
The default version of Ruby can be set for RVM using the `--default` flag.
For instance, to set the default version of Ruby to `ruby-2.2.3`, use the
following command:
```
$ rvm --default use ruby-2.2.3
```