Dart Sass Ruby

This gem is a thin wrapper around the Dart Sass binaries. It enables you to easily compile Sass in Ruby projects. The binaries for macOS, Linux and Windows are included.

The version number of this gem tracks the version number of the Dart Sass binary.


Add this line to your application's Gemfile:

gem 'dartsass'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install dartsass


The Dart Sass binary can be called within your project as:

$ bundle exec dartsass css/index.scss output/css/main.css


Bug reports and pull requests are welcome on GitHub at https://github.com/ayushn21/dartsass-ruby.


The gem is available as open source under the terms of the MIT License.