ryanwold.net

A civic-minded citizen seeking the singularity

An entry

Generate a Rails app without Turbolinks and Spring

Date: 2015-11-14
Status: release
Tags: rails snippets

Too often, I rails new appname to generate a new Rails application, then I end up immediately removing Turbolinks from /app/assets/stylesheets/application.css and /app/views/layouts/application.html.erb, and Spring from Gemfile.

rails new --help reveals additional options. And now I often use the following when bootstrapping a new app.

rails new appname --skip-turbolinks --skip-spring --database=postgresql --skip-listen --skip-cofffee --skip--bootsnap