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:
@@ -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)
|
||||
|
||||
9
ruby/set-rvm-default-ruby.md
Normal file
9
ruby/set-rvm-default-ruby.md
Normal 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
|
||||
```
|
||||
Reference in New Issue
Block a user