Question: ```
Invalid CSS after "}": expected selector or at-rule, was "}"
  (in /home/test/www/dispatch/app/assets/stylesheets/application.css)
(sass):364

```

The above error is what is occurring in my precompile and I'm unable to find the problem. I've tried renaming the file to `application.css.scss` and I get the same error, with a different line number `:405`

The thing that has me stumped is that this file only contains `159` lines so I'm not sure where that line number is coming from.

I'm precompiling on my local machine because last night this error occurred in an attempt at a production migration.

Answer: 
I was missing the semicolon. Mine was left off at the end of the line declaring "$grayMediumLight". Maybe this will save someone the 30 minutes I spent.
Glad you found your error and fixed it, but I wanted to explain a little more for other newbies like me that might need to look in a different place for their fix.

I just had this issue, and for me example.css.scss precompiled to example.css in /public - and an additional "}" was added at the end of a media query -- in /public/example.css even though there was no error in /example.scss.css

For anyone else having this issue, compare your SCSS and CSS with something like Kaleidoscope to check for any syntax errors creeping in during your precompile and troubleshoot from there.