We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb449fa commit ac1c370Copy full SHA for ac1c370
command/rubycommand/rubycommand.go
@@ -13,8 +13,9 @@ import (
13
)
14
15
const (
16
- systemRubyPth = "/usr/bin/ruby"
17
- brewRubyPth = "/usr/local/bin/ruby"
+ systemRubyPth = "/usr/bin/ruby"
+ brewRubyPth = "/usr/local/bin/ruby"
18
+ brewRubyPthAlt = "/usr/local/opt/ruby/bin/ruby"
19
20
21
// InstallType ...
@@ -57,6 +58,8 @@ func installType() InstallType {
57
58
installType = SystemRuby
59
} else if whichRuby == brewRubyPth {
60
installType = BrewRuby
61
+ } else if whichRuby == brewRubyPthAlt {
62
+ installType = BrewRuby
63
} else if cmdExist("rvm", "-v") {
64
installType = RVMRuby
65
} else if cmdExist("rbenv", "-v") {
0 commit comments