aboutsummaryrefslogtreecommitdiff
path: root/bin/mauveserver
diff options
context:
space:
mode:
Diffstat (limited to 'bin/mauveserver')
-rwxr-xr-xbin/mauveserver9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/mauveserver b/bin/mauveserver
index 286b126..dcb51f6 100755
--- a/bin/mauveserver
+++ b/bin/mauveserver
@@ -34,6 +34,15 @@
# Patrick J Cherry <patrick@bytemark.co.uk>
#
+# Bundler boilerplate.
+require 'pathname'
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile',
+ Pathname.new(__FILE__).realpath)
+require 'rubygems'
+require 'bundler/setup'
+
+$LOAD_PATH << File.join(File.dirname(ENV['BUNDLE_GEMFILE']), 'lib')
+
help = manual = verbose = version = test = false
while arg = ARGV.pop
case arg