diff options
| -rw-r--r-- | install_homebrew.rb | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/install_homebrew.rb b/install_homebrew.rb index 6edfb4067..6dcd4113e 100644 --- a/install_homebrew.rb +++ b/install_homebrew.rb @@ -131,11 +131,5 @@ end ohai "Installation successful!" -if ENV['PATH'].split(':').include? '/usr/local/bin' - puts "Yay! Now learn to brew:" - puts - puts " brew help" - puts -else - warn "/usr/local/bin is not in your PATH" -end +warn "/usr/local/bin is not in your PATH." unless ENV['PATH'].split(':').include? '/usr/local/bin' +warn "Now install Xcode." unless system "/usr/bin/which gcc" |
