diff --git a/Library/Homebrew/formulary.rb b/Library/Homebrew/formulary.rb index 52734a8d0c..7534f0d375 100644 --- a/Library/Homebrew/formulary.rb +++ b/Library/Homebrew/formulary.rb @@ -52,6 +52,7 @@ module Formulary require "formula" mod = Module.new + remove_const(namespace) if const_defined?(namespace) const_set(namespace, mod) begin