Merge pull request #241 from calavera/skip-homebrew-install
Skip homebrew install if it's already in the path
This commit is contained in:
commit
940ad7010b
4
Rakefile
4
Rakefile
@ -80,11 +80,15 @@ def install_rvm_binstubs
|
|||||||
end
|
end
|
||||||
|
|
||||||
def install_homebrew
|
def install_homebrew
|
||||||
|
run %{which brew}
|
||||||
|
unless $?.success?
|
||||||
puts "======================================================"
|
puts "======================================================"
|
||||||
puts "Installing Homebrew, the OSX package manager...If it's"
|
puts "Installing Homebrew, the OSX package manager...If it's"
|
||||||
puts "already installed, this will do nothing."
|
puts "already installed, this will do nothing."
|
||||||
puts "======================================================"
|
puts "======================================================"
|
||||||
run %{ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"}
|
run %{ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"}
|
||||||
|
end
|
||||||
|
|
||||||
puts
|
puts
|
||||||
puts
|
puts
|
||||||
puts "======================================================"
|
puts "======================================================"
|
||||||
|
Loading…
Reference in New Issue
Block a user