Commit a573a23
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 a573a23
File tree
1 file changed
+10
-5
lines changed1 file changed
+10
-5
lines changed| 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 | + | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
10 | 15 | | |
| |||
0 commit comments