From 29d64f367f9ef7b29d6e796ac56db4dae467a68b Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Mon, 26 Apr 2010 01:32:39 -0700 Subject: [PATCH] Don't need rcov usually --- Rakefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index b069f7d3..63c9daf1 100644 --- a/Rakefile +++ b/Rakefile @@ -17,7 +17,6 @@ require 'rubygems' require 'rake' $:.unshift File.join(File.dirname(__FILE__), 'lib') require 'compass' -require 'rcov/rcovtask' # ----- Default: Testing ------ @@ -152,6 +151,8 @@ end require 'cucumber/rake/task' +begin +require 'rcov/rcovtask' namespace :rcov do Cucumber::Rake::Task.new(:cucumber) do |t| t.rcov = true @@ -179,4 +180,7 @@ namespace :rcov do Rake::Task["rcov:cucumber"].invoke end end +rescue LoadError +#pass +end