deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@redhat.com
Subject [PATCH 2/2] * server/Rakefile: setup bundler
Date Thu, 26 Jul 2012 22:58:42 GMT
From: David Lutterkort <lutter@redhat.com>

---
 server/Rakefile |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/server/Rakefile b/server/Rakefile
index 41eb7fa..96a870d 100644
--- a/server/Rakefile
+++ b/server/Rakefile
@@ -21,6 +21,14 @@ require 'rake'
 require 'rake/testtask'
 require 'rubygems/package_task'
 
+begin
+  require "bundler"
+  Bundler.setup
+rescue LoadError
+  $stderr.puts "Please install bundler with 'gem install bundler'"
+  exit(1)
+end
+
 $top_srcdir = File.dirname(__FILE__)
 $:.unshift File.join($top_srcdir, 'lib')
 
-- 
1.7.7.6


Mime
View raw message