chriseppstein/compass — Issue #609: Was getting an error "expected selector or at-rule"
Author: omsoft
Created: 2011-10-29 15:16:13+00:00
State: open

Hi folks,
i was getting this error "Syntax error: Invalid CSS after "": expected selector or at-rule, was "=roundcorner(!s..."
My compass version was 0.10.6, no SASS installations. Was using RVM.

the source code:
=roundcorner(!size=7px)
-moz-border-radius= !size

After many tries, uninstalling and changing versions of compass/sass, i found a solution. I didn't have specified the haml version into my Gemfile and bundler had installed the latest version... (3.1.x), probably not compatible with my compass version.

I added this line into Gemfile:
gem "haml", "~> 3.0.13"

and run: bundle update haml

After that, all seemed to work fine! Hope this will help someone.