middleman/middleman — Issue #255: Upgrading Compass?
Author: procload
Created: 2012-01-31 22:06:45+00:00
State: open

There's an issue with Compass pre-version .11.3 that causes incorrect rounding for gradients in Ruby as noted here: https://github.com/chriseppstein/compass/issues/341

I've been trying to use the Compass Susy plugin with Middleman, since Middleman requires .11.3 to work, I can't upgrade Compass to get around the bug. The Susy grid-generator is causing the problems with the column-grid-background() background call.

```ruby
Syntax error: Color stops must be specified in increasing order. 100 came after 101.01599999999999.
on line 70 of /Users/ryanmerrill/.rvm/gems/ruby-1.9.3-p0/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/css3/_images.scss, in `background-image'
from line 148 of /Users/ryanmerrill/.rvm/gems/ruby-1.9.3-p0/gems/compass-0.11.7/frameworks/compass/stylesheets/compass/layout/_grid-background.scss, in `column-grid-background'
from line 218 of /Users/ryanmerrill/.rvm/gems/ruby-1.9.3-p0/gems/compass-susy-plugin-0.9/sass/susy/_grid.scss, in `susy-grid-background'
from line 20 of /Users/ryanmerrill/Sites/Personal/blog/source/stylesheets/partials/_layout.scss
from line 76 of /Users/ryanmerrill/Sites/Personal/blog/source/stylesheets/partials/_base.scss
from line 1 of /Users/ryanmerrill/Sites/Personal/blog/source/stylesheets/screen.css.scss
```