# File lib/gettext_i18n_rails/haml_parser.rb, line 23
    def prepare_haml_parsing
      return true if @haml_loaded

      begin
        require "#{::Rails.root.to_s}/vendor/plugins/haml/lib/haml"
      rescue LoadError
        begin
          require 'haml'  # From gem
        rescue LoadError
          puts "A haml file was found, but haml library could not be found, so nothing will be parsed..."
          return false
        end
      end

      require 'gettext_i18n_rails/ruby_gettext_extractor'
      @haml_loaded = true
    end