Copy and paste this code into your terminal
DISCLAIMER: You should always review templates before running them. By running the template, you are agreeing to the terms of use.
The contents of this script as show. Any updates will be reflected in the below code and the snippet.
def puts_red(heredoc) puts set_color heredoc, :red end if !defined?(Webpacker) puts_red 'Webpacker was not installed. Adding it now...' gem 'webpacker' rails_command 'webpacker:install' end gem 'stimulus_reflex' run 'bundle install' rails_command 'stimulus_reflex:install'
A place where you can thank the author, post problems, give constructive feedback, etc. Be nice!