Homebrew / legacy-homebrew

💀 The former home of Homebrew/homebrew (deprecated)
https://brew.sh
27.02k stars 11.37k forks source link

brew home swiftgen fails on 10.8.5 #44474

Closed bwagner closed 8 years ago

bwagner commented 8 years ago

brew home swiftgen Error: compile error /usr/local/Library/Formula/swiftgen.rb:29: syntax error, unexpected ')' /usr/local/Library/Formula/swiftgen.rb:45: syntax error, unexpected $end, expecting kEND Please report this bug: https://git.io/brew-troubleshooting /usr/local/Library/Formula/swiftgen.rb:45:in load_formula' /usr/local/Library/Homebrew/formulary.rb:34:inload_formula_from_path' /usr/local/Library/Homebrew/formulary.rb:83:in load_file' /usr/local/Library/Homebrew/formulary.rb:74:inklass' /usr/local/Library/Homebrew/formulary.rb:70:in get_formula' /usr/local/Library/Homebrew/formulary.rb:205:infactory' /usr/local/Library/Homebrew/formulary.rb:353:in find_with_priority' /usr/local/Library/Homebrew/extend/ARGV.rb:20:informulae' /usr/local/Library/Homebrew/extend/ARGV.rb:16:in map' /usr/local/Library/Homebrew/extend/ARGV.rb:16:informulae' /usr/local/Library/Homebrew/cmd/home.rb:6:in home' /usr/local/Library/brew.rb:133:insend' /usr/local/Library/brew.rb:133

DomT4 commented 8 years ago

The syntax used in that formula wasn't supported by Ruby 1.8, which OS X 10.8 uses. Fixed by https://github.com/Homebrew/homebrew/commit/14eb880c789ca895829820d6058684c41fe4b54e.