def install_rake_tasks(install_type = :rails)
      if install_type.to_sym == :rails
        require 'fileutils'
        if File.directory?('./lib/tasks/')
          task_file = File.expand_path('../../tasks/request_log_analyzer.rake', File.dirname(__FILE__))
          FileUtils.copy(task_file, './lib/tasks/request_log_analyze.rake')
          puts 'Installed rake tasks.'
          puts 'To use, run: rake rla:report'
        else
          puts 'Cannot find /lib/tasks folder. Are you in your Rails directory?'
          puts 'Installation aborted.'
        end
      else
        fail "Cannot perform this install type! (#{install_type})"
      end
    end
def install_rake_tasks(install_type = :rails)
      if install_type.to_sym == :rails
        require 'fileutils'
        if File.directory?('./lib/tasks/')
          task_file = File.expand_path('../../tasks/request_log_analyzer.rake', File.dirname(__FILE__))
          FileUtils.copy(task_file, './lib/tasks/request_log_analyze.rake')
          puts 'Installed rake tasks.'
          puts 'To use, run: rake rla:report'
        else
          puts 'Cannot find /lib/tasks folder. Are you in your Rails directory?'
          puts 'Installation aborted.'
        end
      else
        fail "Cannot perform this install type! (#{install_type})"
      end
    end
Copies request-log-analyzer analyzer rake tasks into the /lib/tasks folder of a project, for easy access and
 environment integration.
 <tt>install_type</tt> Type of project to install into. Defaults to :rails.
 Raises if it cannot find the project folder or if the install_type is now known.