ruby.sh: fix original setup ruby path name.

This commit is contained in:
Mike McQuaid 2016-07-11 16:57:33 +01:00
parent c598e1afd5
commit b418fe94c8

View File

@ -1,4 +1,4 @@
origin-setup-ruby-path() { original-setup-ruby-path() {
if [[ -z "$HOMEBREW_DEVELOPER" ]] if [[ -z "$HOMEBREW_DEVELOPER" ]]
then then
unset HOMEBREW_RUBY_PATH unset HOMEBREW_RUBY_PATH
@ -24,7 +24,7 @@ origin-setup-ruby-path() {
setup-ruby-path() { setup-ruby-path() {
if [[ -z "$HOMEBREW_USE_VENDOR_RUBY" ]] if [[ -z "$HOMEBREW_USE_VENDOR_RUBY" ]]
then then
origin-setup-ruby-path original-setup-ruby-path
return return
fi fi