deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject [24/50] [abbrv] git commit: * server/Rakefile: setup bundler
Date Mon, 30 Jul 2012 14:29:17 GMT
* server/Rakefile: setup bundler


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/340a91d8
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/340a91d8
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/340a91d8

Branch: refs/heads/master
Commit: 340a91d8f6b96de7a07c67b418aa8197c293b310
Parents: 7208dda
Author: David Lutterkort <lutter@redhat.com>
Authored: Thu Jul 26 15:58:42 2012 -0700
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Fri Jul 27 13:55:43 2012 +0200

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


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/340a91d8/server/Rakefile
----------------------------------------------------------------------
diff --git a/server/Rakefile b/server/Rakefile
index c42ea4b..4bd3b01 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')
 


Mime
View raw message