Last active
July 7, 2023 17:15
-
-
Save Dania02525/ca23082498742a730d70d801cd1a3109 to your computer and use it in GitHub Desktop.
Rails template generator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem_group :development, :test do | |
gem 'rspec-rails' | |
gem 'byebug' | |
end | |
gem_group :development do | |
gem 'rubocop-rails' | |
end | |
require 'net/http' | |
file '.rubocop.yml', Net::HTTP.get(URI('https://gist.githubusercontent.com/Dania02525/cefaacd1eff89311613db8bb65765a63/raw/45b44c7e05fb07072e331a1b91ced23c21556f65/rubocop.yml')) | |
# run rubocop to fix all the missing frozen string literals | |
after_bundle do | |
run "bundle exec rubocop -A" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment