kchmck/vim-coffee-script — Issue #58: coffee -c test.coffee command not found
Author: bruparel
Created: 2011-10-16 17:28:08+00:00
State: open

This may be my problem. But I have installed the plugin using pathogen script and the indentation and syntax coloring etc seems to work fine, but I am having problems compiling using CoffeeMake! command. Here is quick test under MacVim:

the file test.coffee is under coffee directory on my machine. I have cd into the coffee directory so that it is the current directory even under MacVim.

If I type in CoffeeMake! on the ":" prompt, here is what I get:

:!coffee\ -c\ \ test.coffee 2>&1| tee /var/folders/N8/N8b2guZ1GuC7wiANYX7G+++++TI/-Tmp-/vNMGH4T/2
/bin/bash: coffee -c test.coffee: command not found

Press ENTER or type command to continue

I can compile fine from the command line as shown below:

Bharat:~/coffee
→ ll
total 16
-rw-r--r-- 1 Bharat staff 27B Oct 16 11:42 hello.coffee
-rw-r--r-- 1 Bharat staff 106B Oct 16 12:25 test.coffee

Bharat:~/coffee
→ coffee -c test.coffee

Bharat:~/coffee
→ ll
total 24
-rw-r--r-- 1 Bharat staff 27B Oct 16 11:42 hello.coffee
-rw-r--r-- 1 Bharat staff 106B Oct 16 12:25 test.coffee
-rw-r--r-- 1 Bharat staff 226B Oct 16 12:27 test.js

Please advise.

Thanks.

Bharat