driftingruby / template

Base template for "all" Drifting Ruby episodes

Home Page:https://www.driftingruby.com

Repository from Github https://github.comdriftingruby/templateRepository from Github https://github.comdriftingruby/template

Template

This is the template that is used for creating new projects for Drifting Ruby episodes.

Usage

Download the template to a directory. Personally, I keep mine under ~/driftingruby.

You can then create a new Rails application with this template.

rails new example -m ~/<TEMPLATE_LOCATION>/template.rb

NOTE: When I'm creating a new application, I omit the -m flag since I have a ~/.railsrc file which contains the flag.

# ~/.railsrc
--skip-jbuilder
-a propshaft
--javascript esbuild
--css bootstrap
-m ~/driftingruby/template.rb

Additional NOTE: I'm also creating these projects with the latest version of Rails. At the time of writing this is Rails 7.0.0.rc1.

About

Base template for "all" Drifting Ruby episodes

https://www.driftingruby.com


Languages

Language:HTML 87.7%Language:Ruby 12.1%Language:CSS 0.2%