title: Error when running `rake assets:precompile`
body: <p>I have a rails 3.1 app that I am trying to push to heroku. While the push works, the error lies when it tries to rake the assets. It get an error</p>
  
  <pre><code>Unexpected token punc, expected punc (line: 11225, col: 7, pos: 321149)
  undefined
  (in /Users/Matt/Orchive/Orchive/app/assets/javascripts/application.js)
  </code></pre>
  
  <p>However this application.js file only contains some comments. Here it is:</p>
  
  <pre><code>// This is a manifest file that'll be compiled into including all the files listed below.
  // Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
  // be included in the compiled file accessible from http://example.com/assets/application.js
  // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
  // the compiled file.
  //
  //= require jquery
  //= require jquery_ujs
  //= require_tree
  </code></pre>
  
  <p>I don't really understands assets but I tried running <code>rake assets:precompile</code> in the terminal before pushing and got this large error</p>
  
  <pre><code>/Users/Matt/.rvm/rubies/ruby-1.9.2-p180/bin/ruby /Users/Matt/.rvm/gems/ruby-1.9.2-p180/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
  rake aborted!
  Unexpected token punc, expected punc (line: 11225, col: 7, pos: 321149)
  
  undefined
  (in /Users/Matt/Orchive/Orchive/app/assets/javascripts/application.js)
  
  Tasks: TOP =&gt; assets:precompile:primary
  (See full trace by running task with --trace)
  rake aborted!
  Command failed with status (1): [/Users/Matt/.rvm/rubies/ruby-1.9.2-p180/bi...]
  
  Tasks: TOP =&gt; assets:precompile
  (See full trace by running task with --trace)
  </code></pre>
  
  <p>I can edit this and change that to what it shows with <code>--trace</code> if that would be more helpful.
  I think that this is a common, easy fix error that I just don't know how to do.</p>