title: textmate bundle for coffeescript
body: <p>I'm trying to add the textmate bundle for coffeescript. 
  I've followed the instructions on github - <a href="https://github.com/jashkenas/coffee-script-tmbundle" rel="nofollow noreferrer">https://github.com/jashkenas/coffee-script-tmbundle</a></p>
  
  <p>When I try to compile &amp; display JavaScript I get the following error - </p>
  
  <pre><code>/tmp/temp_textmate.8hqQGD: line 12: coffee: command not found
  </code></pre>
  
  <p>I'm fairly certain it's due to my path being incorrect in textmate's preferences. </p>
  
  <p>I'm trying to follow the instructions on this question -   <a href="https://stackoverflow.com/questions/6397795/coffeescript-textmate-run-command">CoffeeScript TextMate Run Command</a> but I must be doing something wrong as It's not working.</p>
  
  <p>When I do which coffee  I get /usr/local/bin/coffee</p>
  
  <p>I've no TM_PATH variable in textmate's preferences only a PATH 
  So, what should I put in my PATH variable in textmate? I currently have /usr/bin:/bin:/usr/sbin:/sbin</p>
  
  <p>I've tried changing it to /usr/local/bin/ but when I try to run a command  I get </p>
  
  <pre><code>/Applications/TextMate.app/Contents/SharedSupport/Support/lib/bash_init.sh: line 27: dirname: command not found 
  </code></pre>
  
  <p>Any ideas?</p>