title: rake assets:precompile throws Sass::SyntaxError: Invalid CSS after "*/"
body: <p><em>I hope this isn't a duplicate problem; I've tried other solutions on SO with no effect</em></p>
  
  <p>When pushing my app to Heroku, the push has failed because application.css has not been able to compile.</p>
  
  <p>My terminal output:</p>
  
  <pre><code>Running: rake assets:precompile
  rake aborted!
  Sass::SyntaxError: Invalid CSS after " */": expected selector, was "@font-face"
  (in /tmp/build_17e92975-ae8d-446f-8678-110eeeccfb64/app/assets/stylesheets/adminsite/application.css)
  (sass):1845
  </code></pre>
  
  <p><strong>Attempts at solution</strong></p>
  
  <p>I've searched and deleted every instance of "*/" that comes before an @font-face inside the ../stylesheets/adminsite/ directory. Same issue and result.</p>
  
  <p>I've tried setting:</p>
  
  <pre><code>  config.assets.compile = true
  </code></pre>
  
  <p>...Same issue</p>
  
  <p><strong>Edit</strong></p>
  
  <p>Here is my application.css (not the app level one, but the one failing in the adminsite directory)</p>
  
  <pre><code>/*
   * This is a manifest file that'll be compiled into application.css, which will include all the files
   * listed below.
   *
   * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
   * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
   *
   * You're free to add application-wide styles to this file and they'll appear at the top of the
   * compiled file, but it's generally better to create a new file per style scope.
   *
   *= require jquery.ui.all
   *= require_self
   *= require normalize
   *= require ./global/plugins/bootstrap/css/bootstrap
   *= require ./global/plugins/uniform/css/uniform.default
   *= require ./global/plugins/bootstrap-switch/css/bootstrap-switch
   *= require ./global/css/components
   *= require ./global/css/plugins
   *= require ./global/plugins/simple-line-icons/simple-line-icons
   *= require ./admin/layout/css/layout
   *= require ./admin/layout/css/themes/light2
   *= require ./admin/layout/css/custom
   */
  </code></pre>
  
  <p>By removing and recompliling, I found that </p>
  
  <pre><code>*= require ./global/plugins/font-awesome/scss/font-awesome
  </code></pre>
  
  <p>that was 3 from the bottom of that list, was causing it to fail. I can now locally run </p>
  
  <pre><code>rake assets:precompile --trace RAILS_ENV=production
  </code></pre>
  
  <p>but I can't push to heroku using</p>
  
  <pre><code>git push herokunb newbeta:master
  </code></pre>
  
  <p><strong>SOLVED:</strong></p>
  
  <p>It was the font awesome CSS. Removing that from require fixed it. The issue appeared unsolved only due to my own mistakes with git.</p>