A summary of data about the Ruby ecosystem.

https://github.com/sass/sassc-rails

Integrate SassC-Ruby with Rails!
https://github.com/sass/sassc-rails

Keywords from Contributors

activerecord activejob mvc rubygem rack rubocop ruby-gem code-formatter static-code-analysis nokogiri

Last synced: about 22 hours ago
JSON representation

Repository metadata

Integrate SassC-Ruby with Rails!

README.md

SassC::Rails Build Status Gem Version

LibSass has reached its end of life.
It will no longer receive updates of any kind. Users should migrate to
Dart Sass at their earliest convenience. There is a
Ruby plugin using Embedded
Dart Sass available now.


We all love working with Sass, but compilation can take quite a long time for larger
codebases. This gem integrates the C implementation of Sass,
LibSass, into the asset pipeline.

In one larger project, this made compilation 4x faster:

# Using sassc-rails

[1] pry(main)> Benchmark.bm { |bm| bm.report { Rails.application.assets["application.css"] } }
       user     system      total        real
   1.720000   0.170000   1.890000 (  1.936867)

# Using sass-rails

 [1] pry(main)> Benchmark.bm { |bm| bm.report { Rails.application.assets["application.css"] } }
       user     system      total        real
  7.820000   0.250000   8.070000 (  8.106347)

This should essentially be a drop in alternative to sass-rails.

Inline Source Maps

With SassC-Rails, it's also extremely easy to turn on inline source maps. Simply
add the following configuration to your development.rb file:

# config/environments/development.rb
config.sass.inline_source_maps = true

After adding this config line, you may need to clear your assets cache
(rm -r tmp/cache/assets), stop spring, and restart your rails server. You may
also wish to disable line comments (config.sass.line_comments = false).

Note, as indicated, these source maps are inline. They will not generate additional
files or anything like that. Instead, they will be appended to the compiled
application.css file.

LibSass Compatibility With Ruby Sass

For a look at the compatibility between Ruby Sass and LibSass, check this
compatibility chart out.

Installation

Add this line to your application's Gemfile:

gem 'sassc-rails'

And then execute:

$ bundle

Common Issues

Deployment to Heroku

Due to LibSass compilation requirements, you must upgrade to the
Heroku Cedar-14 Stack
in order to successfully install this gem.

Upgrading to Cedar-14 is usually a painless process.

Installing alongside a gem that depends on Sass-Rails

Libraries explicitly depending on Sass-Rails, such as ActiveAdmin, can cause
conflicts with installation of SassC-Rails. While we have no built-in solution
for this, please check out this issue
for a workaround.

Credits

This gem is based on sass-rails, and
is maintained by Ryan Boland and awesome contributors.

Changelog

Contributing

  1. Fork it ( https://github.com/sass/sassc-rails/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Add Tests
  5. Push to the branch (git push origin my-new-feature)
  6. Create a new Pull Request

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 2 days ago

Total Commits: 129
Total Committers: 29
Avg Commits per committer: 4.448
Development Distribution Score (DDS): 0.349

Commits in past year: 1
Committers in past year: 1
Avg Commits per committer in past year: 1.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
Ryan Boland b****m@g****m 84
schneems r****n@g****m 6
Rafael Mendonça França r****a@g****m 4
Edward Ocampo-Gooding e****d@e****t 3
Javier Julio j****l@g****m 3
John Hawthorn j****n@g****m 3
mintcore j****n@m****e 3
Aqeel Nazeer a****n@g****m 2
Edward Ocampo-Gooding h****o@e****o 1
William Beene b****r@t****m 1
brainopia b****a@e****m 1
Anthony Sottile a****e@u****u 1
Corey Csuhta c****a 1
Gleb Mazovetskiy g****b@g****m 1
Henrik Nyh h****k@n****e 1
Jason Crossfield j****d@g****m 1
Jean Boussier j****r@g****m 1
Mark Huk m****e@g****m 1
Natalie Weizenbaum n****z@g****m 1
Nick Schonning n****i@g****m 1
Paul Bowsher p****r@g****m 1
ReadmeCritic f****t@g****m 1
Rodrigo Rosenfeld Rosas r****s@g****m 1
Roman Usherenko r****o@g****m 1
Ryunosuke Sato t****s@g****m 1
Sam Jewell s****m@b****m 1
Yamagishi Kazutoshi y****s@d****h 1
ferdinand f****o 1
kinopyo f****y@g****m 1

Committer domains:


Issue and Pull Request metadata

Last synced: about 2 months ago

Total issues: 70
Total pull requests: 35
Average time to close issues: over 1 year
Average time to close pull requests: 10 months
Total issue authors: 66
Total pull request authors: 29
Average comments per issue: 3.81
Average comments per pull request: 1.83
Merged pull request: 12
Bot issues: 0
Bot pull requests: 0

Past year issues: 1
Past year pull requests: 2
Past year average time to close issues: N/A
Past year average time to close pull requests: about 1 month
Past year issue authors: 1
Past year pull request authors: 2
Past year average comments per issue: 25.0
Past year average comments per pull request: 0.0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/sass/sassc-rails

Top Issue Authors

  • kuyenda (3)
  • mibamur (2)
  • Marcellllll (2)
  • ricvillagrana (1)
  • hadmut (1)
  • claudiainbytes (1)
  • gorenburg (1)
  • constantm (1)
  • Valkryst (1)
  • michaelglass (1)
  • dreikanter (1)
  • christiannelson (1)
  • reckerswartz (1)
  • willhaslett (1)
  • LightningRpper (1)

Top Pull Request Authors

  • olleolleolle (3)
  • thatguyinabeanie (2)
  • tricknotes (2)
  • voxik (2)
  • boutil (2)
  • bolandrm (2)
  • bodnarbm (2)
  • aqeelvn (1)
  • tonytonyjan (1)
  • ahorek (1)
  • mibamur (1)
  • javierjulio (1)
  • asottile (1)
  • henrik (1)
  • unasuke (1)

Top Issue Labels

  • need contributor (1)

Top Pull Request Labels


Package metadata

gem.coop: sassc-rails

Integrate SassC-Ruby into Rails.

  • Homepage: https://github.com/sass/sassc-rails
  • Documentation: http://www.rubydoc.info/gems/sassc-rails/
  • Licenses: MIT
  • Latest release: 2.1.2 (published over 6 years ago)
  • Last Synced: 2026-03-01T10:02:28.249Z (2 days ago)
  • Versions: 20
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 158,602,137 Total
  • Docker Downloads: 600,336,099
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 0.054%
    • Downloads: 0.161%
  • Maintainers (1)
rubygems.org: sassc-rails

Integrate SassC-Ruby into Rails.

  • Homepage: https://github.com/sass/sassc-rails
  • Documentation: http://www.rubydoc.info/gems/sassc-rails/
  • Licenses: MIT
  • Latest release: 2.1.2 (published over 6 years ago)
  • Last Synced: 2026-02-28T18:01:24.901Z (3 days ago)
  • Versions: 20
  • Dependent Packages: 162
  • Dependent Repositories: 109,601
  • Downloads: 158,584,965 Total
  • Docker Downloads: 600,336,099
  • Rankings:
    • Dependent repos count: 0.115%
    • Downloads: 0.161%
    • Docker downloads count: 0.184%
    • Dependent packages count: 0.222%
    • Average: 0.907%
    • Stargazers count: 2.196%
    • Forks count: 2.566%
  • Maintainers (1)
proxy.golang.org: github.com/sass/sassc-rails

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/sass/sassc-rails#section-documentation
  • Licenses: mit
  • Latest release: v2.1.2+incompatible (published over 6 years ago)
  • Last Synced: 2026-02-25T18:01:31.215Z (6 days ago)
  • Versions: 20
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Stargazers count: 2.317%
    • Forks count: 2.533%
    • Average: 6.307%
    • Dependent packages count: 9.576%
    • Dependent repos count: 10.802%
ubuntu-24.04: ruby-sassc-rails

  • Homepage: https://github.com/sass/sassc-rails
  • Licenses:
  • Latest release: 2.1.2-6 (published 25 days ago)
  • Last Synced: 2026-02-06T16:00:48.911Z (25 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
ubuntu-20.04: ruby-sassc-rails

  • Homepage: https://github.com/sass/sassc-rails
  • Licenses:
  • Latest release: 2.1.2-4 (published 18 days ago)
  • Last Synced: 2026-02-13T07:22:40.466Z (18 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-23.10: ruby-sassc-rails

  • Homepage: https://github.com/sass/sassc-rails
  • Licenses:
  • Latest release: 2.1.2-6 (published 18 days ago)
  • Last Synced: 2026-02-13T18:32:35.130Z (18 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-23.04: ruby-sassc-rails

  • Homepage: https://github.com/sass/sassc-rails
  • Licenses:
  • Latest release: 2.1.2-6 (published 20 days ago)
  • Last Synced: 2026-02-11T06:49:19.973Z (20 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-24.10: ruby-sassc-rails

  • Homepage: https://github.com/sass/sassc-rails
  • Licenses:
  • Latest release: 2.1.2-6 (published 22 days ago)
  • Last Synced: 2026-02-09T17:17:32.436Z (22 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
debian-11: ruby-sassc-rails

  • Homepage: https://github.com/sass/sassc-rails
  • Documentation: https://packages.debian.org/bullseye/ruby-sassc-rails
  • Licenses:
  • Latest release: 2.1.2-5 (published 21 days ago)
  • Last Synced: 2026-02-13T08:24:39.954Z (18 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-22.04: ruby-sassc-rails

  • Homepage: https://github.com/sass/sassc-rails
  • Licenses:
  • Latest release: 2.1.2-6 (published 18 days ago)
  • Last Synced: 2026-02-13T13:25:44.607Z (18 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
debian-12: ruby-sassc-rails

  • Homepage: https://github.com/sass/sassc-rails
  • Documentation: https://packages.debian.org/bookworm/ruby-sassc-rails
  • Licenses:
  • Latest release: 2.1.2-6 (published 19 days ago)
  • Last Synced: 2026-02-12T23:40:53.734Z (19 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:

Dependencies

sassc-rails.gemspec rubygems
  • bundler >= 0 development
  • mocha >= 0 development
  • pry >= 0 development
  • rake ~> 10.0 development
  • railties >= 4.0.0
  • sassc >= 2.0
  • sprockets > 3.0
  • sprockets-rails >= 0
  • tilt >= 0
Gemfile rubygems

Score: 31.15042243034666