Not compatible with haml >= 3.1.0
Haml was just upgraded to 3.1.0. Fancy-buttons is getting these kinds of error messages:
error app/stylesheets/slowcop.scss (Line 24: Not a valid color stop: #009800 40%)
@include fancy-button-matte(#00AC00, 24px, 10px, 0px);
produces:
Syntax error: Not a valid color stop: #009800 40% on line 24 of /usr/local/Cellar/ruby/1.9.2-p180/lib/ruby/gems/1.9.1/gems/fancy-buttons-1.0.6/lib/stylesheets/_fancy-gradient.sass, in linear-gradient'
from line 24 of /usr/local/Cellar/ruby/1.9.2-p180/lib/ruby/gems/1.9.1/gems/fancy-buttons-1.0.6/lib/stylesheets/_fancy-gradient.sass, in fancy-matte-gradient-active' from line 101 of /usr/local/Cellar/ruby/1.9.2-p180/lib/ruby/gems/1.9.1/gems/fancy-buttons-1.0.6/lib/stylesheets/_fancy-buttons.sass, in fb-state-colors'
from line 88 of /usr/local/Cellar/ruby/1.9.2-p180/lib/ruby/gems/1.9.1/gems/fancy-buttons-1.0.6/lib/stylesheets/_fancy-buttons.sass, in fb-color' from line 38 of /usr/local/Cellar/ruby/1.9.2-p180/lib/ruby/gems/1.9.1/gems/fancy-buttons-1.0.6/lib/stylesheets/_fancy-buttons.sass, in fancy-button-colors'
from line 68 of /usr/local/Cellar/ruby/1.9.2-p180/lib/ruby/gems/1.9.1/gems/fancy-buttons-1.0.6/lib/stylesheets/_fancy-buttons.sass, in fancy-button-colors-matte' from line 59 of /usr/local/Cellar/ruby/1.9.2-p180/lib/ruby/gems/1.9.1/gems/fancy-buttons-1.0.6/lib/stylesheets/_fancy-buttons.sass, in fancy-button-matte'
from line 337 of /Users/mike/workspace/slowcop/app/stylesheets/slowcop.scss`
One fix is to force haml to use version 3.0.x:
gem 'haml', '< 3.1.0'
I'm pretty sure the pre-release works. Brandon has been just waiting for the sass release to make that official.