Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not compatible with haml >= 3.1.0 #26

Open
hoisie opened this issue Apr 25, 2011 · 1 comment
Open

Not compatible with haml >= 3.1.0 #26

hoisie opened this issue Apr 25, 2011 · 1 comment

Comments

@hoisie
Copy link

hoisie commented Apr 25, 2011

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'

@chriseppstein
Copy link
Collaborator

I'm pretty sure the pre-release works. Brandon has been just waiting for the sass release to make that official.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants