Last active
June 4, 2020 18:18
-
-
Save mzagaja/e6485043879349cbbaffba8df0e21e30 to your computer and use it in GitHub Desktop.
This file contains 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
# Matt Zagaja Rails Template | |
gem_group :development, :test do | |
gem 'dotenv-rails' | |
gem 'factory_bot_rails' | |
gem 'pry-byebug' | |
gem 'rspec-rails' | |
end | |
gem_group :development do | |
gem 'capistrano', '~> 3.10', require: false | |
gem 'capistrano-bundler' | |
gem 'capistrano-passenger' | |
gem 'capistrano-rails', '~> 1.3', require: false | |
gem 'capistrano-rvm' | |
gem 'guard' | |
gem 'guard-livereload' | |
gem 'guard-rspec' | |
gem 'rack-livereload' | |
gem 'listen', '>= 3.0.5', '< 3.2' | |
gem 'rb-fsevent' if `uname` =~ /Darwin/ | |
gem 'spring' | |
gem 'spring-commands-rspec' | |
gem 'spring-watcher-listen', '~> 2.0.0' | |
gem 'terminal-notifier-guard' | |
gem 'pry-rails' | |
end | |
gem_group :test do | |
# Adds support for Capybara system testing and selenium driver | |
gem 'capybara' | |
gem 'selenium-webdriver' | |
gem 'capybara-screenshot' | |
gem 'parallel' | |
gem 'axe-matchers' | |
end | |
run 'mv app/assets/stylesheets/application.css app/assets/stylesheets/application.scss' | |
run 'rm README.rdoc' | |
run "echo '# #{@app_name.titleize}' >> README.md" | |
run('bundle install') | |
generate('rspec:install') | |
rails_command('webpacker:install') | |
rails_command('db:create') | |
rails_command('db:migrate') | |
run 'bundle exec guard init' | |
gsub_file 'Guardfile', 'cmd: "bundle exec rspec"', "cmd: 'bin/rspec'" | |
run 'bundle exec spring binstub --all' | |
after_bundle do | |
git :init | |
git add: "." | |
git commit: %Q{ -m 'Initial commit' } | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment