diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/nickserver | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/nickserver b/bin/nickserver index 062684f..f3795bf 100755 --- a/bin/nickserver +++ b/bin/nickserver @@ -7,7 +7,7 @@ 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" - if File.exists?("#{base_directory}/Gemfile.lock") + if File.exist?("#{base_directory}/Gemfile.lock") ENV['BUNDLE_GEMFILE'] ||= "#{base_directory}/Gemfile" require 'bundler' Bundler.require(:default) |