No release in over 3 years
Stop memorizing rails new flags. This interactive CLI wizard walks you through every option, remembers your last choices, and saves reusable presets. Supports Rails 7.2+ with version-aware option filtering, back navigation, and dry-run mode.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

~> 5.0
~> 2.7
 Project Readme

create-rails-app Gem Version Codecov CI

Interactive CLI wizard for rails new — walks you through every option, remembers your choices, and saves reusable presets.

create-rails-app demo

Table of Contents

  • Supported Ruby Versions
  • Installation
  • Features
  • Usage
  • Configuration
  • Supported Rails Versions
  • Development
  • Contributing
  • Changelog
  • Versioning
  • License

Supported Ruby Versions

Ruby 3.2+ is required.

Installation

gem install create-rails-app

Features

  • Interactive step-by-step wizard for all rails new options
  • Supports Rails 7.2+ with version-aware option filtering
  • Remembers last-used choices and saves reusable presets
  • Back navigation (Ctrl+B) to change previous answers
  • Dry-run mode to preview the generated command
  • Smart skip rules (e.g., skips database prompt if Active Record is disabled)
  • Color-coded terminal UI

Usage

Start the wizard:

create-rails-app

With an app name:

create-rails-app myapp

Preview the generated command without running it:

create-rails-app --dry-run

Use a saved preset:

create-rails-app --preset api

List available presets:

create-rails-app --list-presets

Configuration

Presets and last-used choices are stored in ~/.config/create-rails-app/config.yml (follows the XDG Base Directory Specification).

Supported Rails Versions

Version Supported
8.1
8.0
7.2

Development

After checking out the repo, run bin/setup to install dependencies. Then, run bundle exec rake to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install.

Sibling project: create-ruby-gem — the same idea for bundle gem.

Contributing

Bug reports and pull requests are welcome on GitHub. See CONTRIBUTING.md for development setup, code style, and PR guidelines.

This project follows the Contributor Covenant Code of Conduct.

Changelog

See CHANGELOG.md for a detailed history of changes, following Keep a Changelog format.

Versioning

This project follows Semantic Versioning 2.0.0

License

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