From 0b21010d5936a11aad96db64d98f3adde30803c7 Mon Sep 17 00:00:00 2001 From: Tse-Ching Ho Date: Wed, 11 Jun 2014 11:23:22 +0800 Subject: [PATCH] appraisal is not required while running rake in production --- Rakefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index b9a96089..787cd4d7 100644 --- a/Rakefile +++ b/Rakefile @@ -1,3 +1,7 @@ -require 'appraisal' +begin + require 'appraisal' +rescue LoadError + puts 'Appraisal not available' +end Dir['tasks/**/*.rake'].each { |rake| load rake } task :default => :spec