0.0
No commit activity in last 3 years
No release in over 3 years
create-ruby-app is an opinionated tool for scaffolding Ruby applications
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 12.3.2
~> 3.8.0

Runtime

~> 0.20.3
 Project Readme

Create Ruby App

CI Gem Version

create-ruby-app is an opinionated tool for scaffolding Ruby applications effortlessly inspired by Create React App. It generates only the essentials needed to start working.

It specifically targets non-Rails applications. For Ruby on Rails apps, it might be worth looking into Rails Application Templates instead, and if you are building a gem, please take a look at the bundle gem command.

Requirements

  • Ruby (version 2.7.1 or newer).

Installation

gem install create-ruby-app

Usage

create-ruby-app new NAME [--ruby RUBY] [--gems GEMS]

Example

create-ruby-app new my-app --gems sinatra,sequel --ruby ruby-2.7.1

This will generate the following project structure with Sinatra and Sequel added to the Gemfile.

my_app
├── bin/
│   └── my_app
├── lib/
│   ├── my_app/
│   └── my_app.rb
├── spec/
│   ├── lib/
│   │   └── my_app/
│   └── spec_helper.rb
├── .ruby-version
└── Gemfile

Once the project is generated, it will run bundle install so you can start working.

License

See LICENSE.