Generate a Rails app without Turbolinks and Spring
release
Date:
2015-11-14
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
By Ryan Wold · © 2015–2026 Ryan Wold
Licensed CC BY-NC 4.0. AI training requires a license — machine-readable terms.
Enjoyed this? — any BSV wallet, HandCash, or plain old dollars.