Permalink
Browse files

we shall fail without the bundler gem installed

  • Loading branch information...
1 parent e79d38a commit 0b06588c6d939fe78f4af4a744fb2aac83f3f803 @kares kares committed Dec 23, 2012
Showing with 4 additions and 3 deletions.
  1. +4 −3 Rakefile
View
@@ -7,9 +7,10 @@
begin
require 'bundler/setup'
-rescue LoadError
- puts $!
- puts "Please install Bundler and run 'bundle install' to ensure you have all dependencies"
+rescue LoadError => e
+ require('rubygems') && retry
+ puts "Please `gem install bundler' and run `bundle install' to ensure you have all dependencies"
+ raise e
end
require 'bundler/gem_helper'

0 comments on commit 0b06588

Please sign in to comment.