summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorazul <azul@riseup.net>2016-06-09 11:12:04 +0200
committerazul <azul@riseup.net>2016-06-09 11:12:04 +0200
commit5cad637a4a2a3de6b95ff1204fc29174e18b3124 (patch)
treecb1cb31ba7a59fb2c70ce4fa853c83ad38ad1d4d /bin
parent69f9b2cb51ff3b9fb3de39f657f734e507ccec68 (diff)
parent5c0fa0fb7b10820f2956807cb457421bf1e00708 (diff)
Merge pull request #2 from azul/rubocop
Rubocop
Diffstat (limited to 'bin')
-rwxr-xr-xbin/nickserver2
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)