    # File lib/compass/frameworks.rb, line 67
        def register_directory(directory)
          loaders = [
            File.join(directory, "compass_init.rb"),
            File.join(directory, 'lib', File.basename(directory)+".rb"),
            File.join(directory, File.basename(directory)+".rb")
          ]
          loader = loaders.detect{|l| File.exists?(l)}
          registered_framework = detect_registration do
            require loader if loader
          end
          unless registered_framework
            register File.basename(directory), directory
          end
        end