From e08e99a403cbb36bd34832d168731bb203e97444 Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Fri, 29 Jan 2010 22:53:44 -0500 Subject: [PATCH] implementing the Node REPL. --- 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 b2e4dba1..1a1b26e7 100644 --- a/lib/coffee_script/command_line.rb +++ b/lib/coffee_script/command_line.rb @@ -116,7 +116,7 @@ Usage: # Use Narwhal to run an interactive CoffeeScript session. def launch_repl - exec "#{LAUNCHER}" + exec "node #{ROOT}/lib/coffee_script/repl.js" rescue Errno::ENOENT puts "Error: Node.js must be installed to use the interactive REPL." exit(1)