rails-preflight
github.com/aslam/rails-preflight- Category
- Developer Tools
- Rank
- No. 1734Tools index
Previous survey · No. 1704 ·
- Pricing
- Open Source
- Type
- TOOL
- Use case
- Software Testing & Quality
- GitHub
- 19 stars
- Date
About
A read-only, offline Ruby tool that scans a Rails app's lockfile, Ruby version, Dockerfile, schema, config and code, then writes a single HTML report of upgrade blockers, fixes and a suggested path with one step per Rails minor version. Findings are also available as Markdown and JSON. It is for planning and scoping, not automated migration.
At a glance
RailsPreFlight reads a Rails project and reports likely upgrade blockers for a target version. Use it before estimating an upgrade when dependency constraints, framework deprecations and runtime mismatches are scattered across the repo.
Good fit
Teams scoping an upgrade of a Rails 5 or newer app and deciding which problems to investigate first.
Consider something else when
If you need to prove the upgraded app behaves correctly, budget for an actual upgrade and test run.
Start here
From a disposable checkout, run rails-preflight with your target version and app path. Open the report and trace one blocker back to its lockfile or source location before turning it into a work item.
Cost and requirements
MIT-licensed. The scanner needs Ruby 2.7 or newer. The default can query RubyGems. Pass --offline to avoid that lookup, which leaves some gem compatibility checks unresolved.
Limits to know
Static checks can flag declared dependency constraints and known API patterns. Private gems and behavior that only appears at runtime still need investigation.
Similar tools
Tags
Tech Stack
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.