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

Sprockets locked by Sass and stale compass-rails breaking Susy? #353

Closed
reconstructions opened this issue Jun 15, 2014 · 1 comment
Closed

Comments

@reconstructions
Copy link

The problem I am having is similar to this closed issue, however the solution fixed some Susy problems while creating others.

The entire stack of Sass, Compass, Blueprint and Susy seems to be becoming really unreliable. Compass was one of the last gems to be Rails 4 ready. Like others I have had to [lock my Sprockets[(https://github.com/sstephenson/sprockets/issues/540) just to keep Sass working, which is bound to cause increasing problems for all the downstream frameworks, now that they are all working with stale dependencies.

I am getting a Undefined mixin 'susy-grid-background'. when I use @include susy-grid-background;. Before changing all my gems as described above susy-grid-background worked fine and I got an undefined mixin error when using @include span(). So a whole day of work swapping gems around traded one problem for another.

This set gave me the Undefined mixin error with suzy-grid-background:

gem 'susy', '2.1.2'
gem 'sprockets', '2.11.0'
gem 'sass-rails', '4.0.0'
gem 'breakpoint', '2.4.2'
gem 'compass-rails', '~> 1.1.7'
gem 'compass', '~> 1.0.0.alpha.19'

This set game me the Undefined mixin error with span:

#gem 'susy', '~> 1.0.5'
#gem 'sprockets', '2.11.0'
#gem 'sass-rails', '4.0.2'
#gem 'breakpoint', '2.0.7'
#gem 'compass-rails', '~> 1.1.7'

I understand that this is a problem caused by sass-rails and compass-rails not making the changes needed to keep up with Rails 4. I was very reluctant to take chances by using Compass with Rails 4, since it seemed insufficiently maintained, but if this whole branch can't get caught up, all the "downstream" gems will go stale as well.

@reconstructions
Copy link
Author

Looks like Sass-Rails 4.0.3 finally fixes this, and apparently so will Compass 2.0, which is days away. Until then, Susy won't work, but perhaps all these gems are close to working in Rails 4.

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

1 participant