# ai/autoprefixer-rails

Autoprefixer for Ruby and Ruby on Rails

Repository: https://github.com/ai/autoprefixer-rails
Canonical: https://ross.abutalabs.com/products/autoprefixer-rails
Homepage: https://twitter.com/autoprefixer
Language: Ruby
License: MIT
License Family: permissive
Last push: 2025-04-12T14:28:49+00:00

## Health v2 (maintenance only)
Score: 39/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 16, release rhythm 35, longevity 100
- inputs: {"age_days": 4899, "days_push": 508, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1210, forks 109 (observed 2026-08-28T04:03:59.963748+00:00)

## What it is
A Ruby gem that integrates the Autoprefixer tool into Ruby and Ruby on Rails projects, automatically adding CSS vendor prefixes based on Can I Use browser data. It runs the JavaScript Autoprefixer via ExecJS and hooks into the Rails Asset Pipeline.

## Use cases
- add vendor prefixes to css in a rails app
- autoprefix sass or less stylesheets automatically
- support older browsers with css prefixes in ruby projects
- integrate autoprefixer with the rails asset pipeline
- configure target browsers via browserslist in rails

## When to choose
- you maintain a Ruby on Rails app using the Asset Pipeline and want automatic CSS prefixing
- you want Can I Use-based vendor prefixes without manual CSS work
- your build is Ruby-based and you don't want to add webpack or Gulp just for prefixing

## When to avoid
- you already use webpack, Gulp, or another JS build tool - use the original Autoprefixer directly
- you need custom browser usage statistics or package. browser config, which this gem doesn't support
- you need advanced Browserslist queries like '> 5% in US' that ExecJS limitations block

## Facets
- artifact type: library
- maturity: maintenance
- function: build-tool, css-framework, developer-tools
- domain: web-development, frontend, developer-tools
- platform: ruby, cross-platform
- tags: css, vendor-prefixes, rails, asset-pipeline, postcss, browserslist, nodejs

## Member repositories
- ai/autoprefixer-rails (main) score 39

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:59.963748+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:18:10.042972+00:00, confidence not recorded.
  - readme: https://github.com/ai/autoprefixer-rails (fetched 2026-08-28T04:03:59.963748+00:00, sha f124eb9aa1fa)
- Data as of 2026-08-30T08:39:29.467469+00:00.
