Skip to content
This repository
Browse code

we shall fail without the bundler gem installed

  • Loading branch information...
commit 0b06588c6d939fe78f4af4a744fb2aac83f3f803 1 parent e79d38a
Karol Bucek authored December 23, 2012

Showing 1 changed file with 4 additions and 3 deletions. Show diff stats Hide diff stats

  1. 7  Rakefile
7  Rakefile
@@ -7,9 +7,10 @@
7 7
 
8 8
 begin
9 9
   require 'bundler/setup'
10  
-rescue LoadError
11  
-  puts $!
12  
-  puts "Please install Bundler and run 'bundle install' to ensure you have all dependencies"
  10
+rescue LoadError => e
  11
+  require('rubygems') && retry
  12
+  puts "Please `gem install bundler' and run `bundle install' to ensure you have all dependencies"
  13
+  raise e
13 14
 end
14 15
 
15 16
 require 'bundler/gem_helper'

0 notes on commit 0b06588

Please sign in to comment.
Something went wrong with that request. Please try again.