diff --git a/lib/compass/frameworks.rb b/lib/compass/frameworks.rb index d11ff8fb..d856bcfe 100644 --- a/lib/compass/frameworks.rb +++ b/lib/compass/frameworks.rb @@ -28,7 +28,11 @@ module Compass end def register(name, *arguments) - ALL << Framework.new(name, *arguments) + if idx = ALL.index{|f| f.name.to_s == name.to_s} + ALL[idx] = Framework.new(name, *arguments) + else + ALL << Framework.new(name, *arguments) + end end def [](name)