Permalink
Browse files

add bundler setup explicitly to make sure this is happy in production.

Change-Id: Ibd71a126b45a576e96e99f3a2d4bd38a4265ad12
  • Loading branch information...
1 parent 37bde3f commit 978f4cbc1c013934c5c673624bd16d16261412c3 Tal Garfinkel committed Feb 6, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 bin/pool_tool
View
@@ -1,5 +1,10 @@
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), '../lib/vcap/user_pools'))
+
+ENV["BUNDLE_GEMFILE"] ||= File.join(File.dirname(__FILE__), '../Gemfile')
+require 'bundler'
+Bundler.setup
+
require 'optparse'
require 'user_pool_util'

0 comments on commit 978f4cb

Please sign in to comment.