Generate a Rails app without Turbolinks and Spring
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
Date
2015-11-14
Status
release
Tags
rails and snippets
Series
N/A