From 636eec29243a06e3143340bc20f5d3318ac5908e Mon Sep 17 00:00:00 2001 From: John Crepezzi Date: Sat, 28 Jan 2012 10:10:23 -0500 Subject: [PATCH] Change how the pathname is received in haste-client --- bin/haste | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/haste b/bin/haste index 3c8c0f7..ad3f27a 100755 --- a/bin/haste +++ b/bin/haste @@ -1,6 +1,8 @@ #!/usr/bin/env ruby -require File.dirname(__FILE__) + '/../lib/haste' +require 'pathname' +path = Pathname.new(__FILE__) +require File.expand_path(File.dirname(path.realpath) + '/../lib/haste') cli = Haste::CLI.new cli.start