summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-12-21 11:15:21 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-12-21 11:15:21 +0100
commited3c4c08c8618eee4d6ced435695feb0b865bdf2 (patch)
treef04806dee85abcad60451cca5a42f337cb0be494
parent307eb3f2c4f262392a39213ec1fae09dc10c9d0a (diff)
downloadffi-efl-ed3c4c08c8618eee4d6ced435695feb0b865bdf2.zip
ffi-efl-ed3c4c08c8618eee4d6ced435695feb0b865bdf2.tar.gz
help user install bundler if missing
-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