From c84bb0c8759010a5bede887ed1b329327b1f6037 Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Mon, 28 Dec 2009 16:23:48 -0500 Subject: [PATCH] fixing relative path for execution tests --- lib/coffee_script/command_line.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/coffee_script/command_line.rb b/lib/coffee_script/command_line.rb index fe5898d2..bf7481b0 100644 --- a/lib/coffee_script/command_line.rb +++ b/lib/coffee_script/command_line.rb @@ -20,7 +20,7 @@ Usage: WATCH_INTERVAL = 0.5 # Command to execute in Narwhal - PACKAGE = File.dirname(File.dirname(File.dirname(__FILE__))) + PACKAGE = File.expand_path(File.dirname(__FILE__) + '/../..') LAUNCHER = "narwhal -p #{PACKAGE} -e 'require(\"coffee-script\").run(system.args);'" # Run the CommandLine off the contents of ARGV.