From ed3c4c08c8618eee4d6ced435695feb0b865bdf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Fri, 21 Dec 2012 11:15:21 +0100 Subject: help user install bundler if missing --- Rakefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index f2c6857..8cb6503 100644 --- a/Rakefile +++ b/Rakefile @@ -1,6 +1,11 @@ require 'bundler/gem_tasks' -require 'rspec/core/rake_task' +begin + require 'rspec/core/rake_task' +rescue LoadError + puts "missing bundler gem, you should\n$ gem install bundler" + exit 1 +end RSpec::Core::RakeTask.new task :default => :spec -- cgit v1.1-2-g2b99