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

Use Sassc #119

Open
george-norris-salesforce opened this issue Jul 8, 2016 · 4 comments
Open

Use Sassc #119

george-norris-salesforce opened this issue Jul 8, 2016 · 4 comments

Comments

@george-norris-salesforce

how do I force middleman-sprockets to use Sassc?

Currrently...

gem 'sprockets', '~> 3.6.3'
gem 'sassc'
gem 'sassc-rails'
== The Middleman is loading
== Preferring use of LibSass
== Sprockets will render css with ruby sass
@stevenosloan
Copy link
Collaborator

You'll need one of the Sprockets 4.0 betas -- but working off of master might be preferable (there's been a lot of work since the last beta was released)

gem 'sprockets', github: 'rails/sprockets'

It should pick up SassC then (you'll see that entry in startup change to == Sprockets will render css with SassC).

I'm curious, was the next line on startup not consider using Sprockets 4.x to render with SassC? I might have written in a bug so that doesn't get displayed.

@vvasabi
Copy link

vvasabi commented Aug 26, 2016

I created this gem several months ago, but it has been sitting in my company’s private gem repo. Seeing that someone is asking about this, I have pushed it to rubygems.org. Source code is available here. Note that this is only a temporary solution before Sprockets 4.x can be released.

Hope this helps.

@kurko
Copy link

kurko commented Nov 24, 2018

@vvasabi works. Sprockets from master doesn't.

@tdreyno
Copy link
Member

tdreyno commented Nov 24, 2018

We're tracking this upstream PR here: rtomayko/tilt#336

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

5 participants