Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

driftingruby/template

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>/tailwind.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-spring
--asset-pipeline propshaft
--skip-jbuilder
--skip-test
--skip-system-test
--css tailwind
--quiet
--pre
-m ~/driftingruby/tailwind.rb

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

About

Base template for "all" Drifting Ruby episodes

Resources

Stars

Watchers

Forks

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.