My application templates for Ruby on Rails.
-
Copy railsrc to your $HOME as .railsrc
cp railsrc $HOME/.railsrc
-
Running
rails new APP_NAME
will now get default args from .railsrc and uses templatehttps://github.com/iiska/rails-templates/raw/master/basic.rb
Template includes following gems:
- bullet: N+1 query detector
- brakeman: Brakeman security scanner
- pry: Powerful IRB shell replacement
- rspec: For testing instead of TestUnit
- simplecov: Test coverage reporting
- factory_girl_rails: Factories instead of fixtures
- rubocop: Static code analysis and style enforcer
It also creates Docker configuration for running development environment and build default Docker Compose environment for it creating development and test databases into dockerized PostgreSQL server.