diff options
Diffstat (limited to 'Library/brew.sh')
| -rw-r--r-- | Library/brew.sh | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/brew.sh b/Library/brew.sh index 3bb15adb4..54f713dd9 100644 --- a/Library/brew.sh +++ b/Library/brew.sh @@ -70,6 +70,10 @@ then      HOMEBREW_RUBY_PATH="/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby"    else      HOMEBREW_RUBY_PATH="$(which ruby)" +    if [[ -z "$HOMEBREW_RUBY_PATH" ]] +    then +      odie "No Ruby found, cannot proceed." +    fi    fi  fi  | 
