title: "ReferenceError: $ is not defined" using CoffeeScript TextMate bundle with Rails 3.1
body: <p>I am trying to use this bundle with the coffee files generated for each controller. I'm just delving into this for the first time by just doing the traditional</p>
  
  <pre><code>$ -&gt;
      alert('Hello World!')
  </code></pre>
  
  <p>It works fine when I view the page, and doing <kbd>Command</kbd>+<kbd>B</kbd> also displays the desired JS code. However, I can't do <kbd>Command</kbd>+<kbd>R</kbd>. I just get <code>ReferenceError: $ is not defined</code>. I understand that it probably can't reference the jQuery file that defines <code>$</code>, but can't for the life of me figure out how to do that. Come to think of it, I'm wondering if it's a sensible thing to want to do this...</p>
  
  <p>What's the best practice when using CoffeeScript and TextMate in Rails 3.1 development?</p>
  
  <p>Thanks,
  Dany.</p>