def rubycritic
      begin
        require 'rubycritic/rake_task'
      rescue LoadError
        nil # Might be in a group that is not installed
      end
      ::RubyCritic::RakeTask.new do |task|
        task.paths = file_list
      end
    end
def rubycritic
      begin
        require 'rubycritic/rake_task'
      rescue LoadError
        nil # Might be in a group that is not installed
      end
      ::RubyCritic::RakeTask.new do |task|
        task.paths = file_list
      end
    end
Ruby Critic