Compass / compass

Compass is no longer actively maintained. Compass is a Stylesheet Authoring Environment that makes your website design simpler to implement and easier to maintain.
http://compass-style.org
Other
6.72k stars 1.18k forks source link

Sass::SyntaxError: Invalid CSS after "elements-of-type": expected selector, was "(html5-block)" #1099

Open rafalbromirski opened 12 years ago

rafalbromirski commented 12 years ago

backtrace

[GEM_ROOT]/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss:116:in `reset-html5'
[GEM_ROOT]/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss:34:in `global-reset'
[GEM_ROOT]/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/_reset.scss:3
app/assets/stylesheets/sass/reports/neo.scss:1

First line in neo.scss:

@import "compass/reset";

It's very weird behavior because sometimes it works fine. When I precompile assets one again it looks okay and error disappear. It drives me crazy because I've received dozes of errors from the airbrake in random situations. "neo.css" file works fine when I type url into browser ;/. Do you have any ideas wtf is going on there?

Compass: 0.12.2 Sass: 3.2.1 Ruby: 1.9.3 Rails: 3.2.8

slaxor commented 11 years ago

I have the same problem. It suddenly appeared after fixing the glyph image path in bootstraps _variables

secretworry commented 11 years ago

I had the same problem. and i fixed it with adding compass to the Gemfile and requiring it in my script.