diff --git a/bin/kook b/bin/kook index 4c1ca70..2579c2a 100755 --- a/bin/kook +++ b/bin/kook @@ -4,6 +4,7 @@ #require 'bundler/setup' require 'yaml' require 'singleton' +require 'pathname' require 'bundler/setup' @@ -12,7 +13,7 @@ require 'colorize' require 'pp' DATA_DIR = File.expand_path( - File.join(File.dirname(__FILE__),'..') + File.join(File.dirname(Pathname.new(__FILE__).realpath),'..') ) VERSION = "0.3"