def load_extension(name)
      extension_path = ExtensionPath.find(name)
      begin
        constant = "#{name}_extension".camelize
        extension = constant.constantize
        extension.unloadable
        extension.path = extension_path
        extension
      rescue LoadError, NameError => e
        $stderr.puts "Could not load extension: #{name}.\n#{e.inspect}"
        nil
      end
    end
def load_extension(name)
      extension_path = ExtensionPath.find(name)
      begin
        constant = "#{name}_extension".camelize
        extension = constant.constantize
        extension.unloadable
        extension.path = extension_path
        extension
      rescue LoadError, NameError => e
        $stderr.puts "Could not load extension: #{name}.\n#{e.inspect}"
        nil
      end
    end
Loads the specified extension.