diff --git a/Formula/redis-tools.rb b/Formula/redis-tools.rb index a0a84059a0..d3cfc4657c 100644 --- a/Formula/redis-tools.rb +++ b/Formula/redis-tools.rb @@ -5,6 +5,8 @@ class RedisTools < Formula homepage 'https://github.com/antirez/redis-tools' def install + # Architecture isn't detected correctly on 32bit Snow Leopard without help + ENV["OBJARCH"] = MacOS.prefer_64_bit? ? "-arch x86_64" : "-arch i386" system "make" bin.install ["redis-load", "redis-stat"] end