bin: Resolve real path (even if linked).

This commit is contained in:
Glenn Y. Rolland 2014-01-03 10:39:14 +01:00
parent 0a23465b98
commit 3b0e5a2ce3

View file

@ -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"