summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Rakefile7
1 files changed, 6 insertions, 1 deletions
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