diff --git a/Formula/swiftgen.rb b/Formula/swiftgen.rb index 73c5bb219e..d1871d5d7c 100644 --- a/Formula/swiftgen.rb +++ b/Formula/swiftgen.rb @@ -13,6 +13,7 @@ class Swiftgen < Formula end depends_on :xcode => ["9.2", :build] + depends_on "ruby" => :build if MacOS.version <= :sierra def install # Disable swiftlint build phase to avoid build errors if versions mismatch