Commit 6c1e3ec
committed
move ruby discovery code into a function
When you install a new ruby in a different terminal shell,
chruby does not pick up on the new ruby version.
The solution is to to source chruby.sh again.
Introducing chruby_discover which will allow any shell to pick up on the
new ruby versions1 parent a543a35 commit 6c1e3ec
1 file changed
Lines changed: 10 additions & 5 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| |||
102 | 105 | | |
103 | 106 | | |
104 | 107 | | |
| 108 | + | |
| 109 | + | |
0 commit comments