summaryrefslogtreecommitdiff
path: root/bin/nickserver
diff options
context:
space:
mode:
Diffstat (limited to 'bin/nickserver')
-rwxr-xr-xbin/nickserver4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/nickserver b/bin/nickserver
index b77369c..4706d8b 100755
--- a/bin/nickserver
+++ b/bin/nickserver
@@ -4,9 +4,9 @@
# Nickserver key discovery daemon
#
-def load_local_gem(dir_path='../..')
+def load_local_gem(dir_path = '../..')
base_directory = File.expand_path(dir_path, File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__)
- if !$LOAD_PATH.include? "#{base_directory}/lib"
+ unless $LOAD_PATH.include? "#{base_directory}/lib"
if File.exist?("#{base_directory}/Gemfile.lock")
ENV['BUNDLE_GEMFILE'] ||= "#{base_directory}/Gemfile"
require 'bundler'