def load_rewriters
      Dir.glob(File.join(default_snippets_path, 'lib/**/*.rb')).each { |file| require file }

      @options[:custom_snippet_paths].each do |snippet_path|
        if snippet_path =~ /^http/
          uri = URI.parse snippet_path
          eval(uri.read)
        else
          require snippet_path
        end
      end
    rescue
      FileUtils.rm_rf default_snippets_path
      retry
    end
def load_rewriters
      Dir.glob(File.join(default_snippets_path, 'lib/**/*.rb')).each { |file| require file }

      @options[:custom_snippet_paths].each do |snippet_path|
        if snippet_path =~ /^http/
          uri = URI.parse snippet_path
          eval(uri.read)
        else
          require snippet_path
        end
      end
    rescue
      FileUtils.rm_rf default_snippets_path
      retry
    end
Load all rewriters.