diff --git a/lib/generators/suspenders/install/web_generator.rb b/lib/generators/suspenders/install/web_generator.rb index add19170..80f3935d 100644 --- a/lib/generators/suspenders/install/web_generator.rb +++ b/lib/generators/suspenders/install/web_generator.rb @@ -13,11 +13,24 @@ class WebGenerator < Rails::Generators::Base This generatator is intended to be invoked as part of an [application template][]. + #### Use the latest suspenders release: + ``` - rails new \ + rails new \\ --skip-rubocop \\ - --skip-test \ - -d=postgresql \ + --skip-test \\ + -d=postgresql \\ + -m=https://raw.githubusercontent.com/thoughtbot/suspenders/main/lib/install/web.rb + ``` + + #### OR use the current (possibly unreleased) `main` branch of suspenders: + + ``` + rails new app_name \\ + --suspenders_main \\ + --skip_rubocop \\ + --skip-test \\ + -d=postgresql \\ -m=https://raw.githubusercontent.com/thoughtbot/suspenders/main/lib/install/web.rb ```