Rails/RakeEnvironment false positive when calling `.clear` · Issue #184 · rubocop/rubocop-rails
I have the following in my Rakefile: if defined?(RSpec) task(:spec).clear RSpec::Core::RakeTask.new(:spec) do |t| t.verbose = false end end which causes: Rakefile:19:3: C: Rails/RakeEnvironment: In...