diff options
author | Azul <azul@riseup.net> | 2016-05-25 12:55:09 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2016-05-25 12:55:09 +0200 |
commit | 62e27158a4fda768377df17430d154c2aae03f5d (patch) | |
tree | 7f47dd1db6163d898d62c2af47800c31c28eda83 /bin/nickserver | |
parent | b883fa9e91ffd7c526a17f37df54ef63c5c6a4b8 (diff) |
rubocop: fix deprecated class methods
Diffstat (limited to 'bin/nickserver')
-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) |