diff --git a/Rakefile b/Rakefile index a98e260..52d2dfd 100644 --- a/Rakefile +++ b/Rakefile @@ -42,7 +42,9 @@ RSpec::Core::RakeTask.new(:rcov) do |spec| end task :rubocop do - system('rubocop') + if RUBY_VERSION >= '1.9.2' + raise unless system('rubocop') + end end task :test do