The Ruby Sass CLI was the original sass executable from the Ruby gem. It compiled .scss / .sass to CSS in one-to-one or many-to-many mode — the ancestor of today’s Dart Sass CLI.
Use this page only to read legacy scripts or plan a migration. Do not install Ruby Sass for new projects.
End of life.
Official Sass docs: Ruby Sass has reached end of life and is totally unmaintained. Switch to Dart Sass at your earliest convenience.
Why keep this page?
Old Makefiles, Capistrano tasks, and READMEs still show Ruby flags (--style=nested, --scss, --compass). Knowing the mapping speeds migration.
Stdin default differed.
Ruby Sass defaulted stdin / unknown extensions to the indented syntax. Dart Sass defaults to SCSS. That alone breaks many piped one-liners.
Learn Dart Sass for new work; use this page only as a map.
One line: treat Ruby Sass CLI docs as a migration dictionary — then live on Dart Sass.
Migrate
Migrate Notes
Practical checklist when leaving the Ruby gem:
migrate.txt
1. Install Dart Sass (npm / Homebrew / binary)
2. Confirm `sass --version` is Dart Sass, not 3.7.x
3. Replace nested/compact → expanded (or omit)
4. Drop --scss on SCSS pipes; add --indented only if needed
5. Remove --compass / --require; replace with modern deps
6. Prefer @use over @import; retest CI & watch scripts
Frequently Asked Questions
No. Official docs: Ruby Sass has reached end of life and is totally unmaintained. Switch to Dart Sass as soon as you can.
The sass executable from the Ruby gem. It compiled .scss/.sass to CSS in one-to-one or many-to-many mode, similar in spirit to today’s Dart Sass CLI.
By extension: .scss → SCSS, .sass → indented. Stdin and unknown extensions defaulted to the indented syntax unless you passed --scss.
Four: nested (default), expanded, compact, and compressed. Dart Sass keeps expanded and compressed only.
Install Dart Sass, replace ruby sass commands with the Dart Sass CLI (often similar), update npm/CI scripts, and retest. Prefer SCSS and modern @use modules.
Only enough to read old scripts. Invest learning time in the Dart Sass CLI and current Sass language features.