aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTelyn <telyn@telynz.uk>2018-01-31 11:30:50 +0000
committerGitHub <noreply@github.com>2018-01-31 11:30:50 +0000
commit9ef70ed3d53e11dacc5d4df4478d5ff452a2dd6d (patch)
treeace44f0ea0a81d7d369df74c3d95c219905e7fa6 /bin
parent0be1fa0ebadf9435a760582d17f47ff96dc0851c (diff)
parent9af0d1761552601db30de7a991d90d64ec6c88f5 (diff)
Merge pull request #6 from BytemarkHosting/release-to-masterHEADmaster
Release to master
Diffstat (limited to 'bin')
-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