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

Comments

Projects
None yet
5 participants
@george-norris-salesforce
Copy link

commented Jul 8, 2016

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

This comment has been minimized.

Copy link
Collaborator

commented Jul 11, 2016

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

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link

commented Nov 24, 2018

@vvasabi works. Sprockets from master doesn't.

@tdreyno

This comment has been minimized.

Copy link
Member

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
You can’t perform that action at this time.