From f1b3fe6a37721fde0e35ccac016f22ea6418055e Mon Sep 17 00:00:00 2001 From: Benjamin Fleischer Date: Thu, 11 Feb 2016 00:51:06 -0600 Subject: [PATCH] Fix rubocop config `undefined method '[]' for nil:NilClass` --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 4106d987..ef76e7a9 100644 --- a/Rakefile +++ b/Rakefile @@ -29,7 +29,7 @@ else Rake::Task[:rubocop].clear if Rake::Task.task_defined?(:rubocop) desc 'Execute rubocop' RuboCop::RakeTask.new(:rubocop) do |task| - task.options = ['--rails', '--display-cop-names', '--display-style-guide'] + task.options = ['--display-cop-names', '--display-style-guide'] task.fail_on_error = true end end