Ruby on Rails application template
Timber adds a few common gems used in Lugo Labs Ruby on Rails projects.
bootstrap
bootstrap_form
jquery-rails
exception_notification
sidekiq
rubocop
capistrano-bundler
capistrano-rails-console
capistrano-rbenv
capistrano-sidekiq
capistrano3-puma
Timber generates two files for Rubocop:
.rubocop.yml
Adapts Rubocop to Ruby on Rails projectspre-commit
Runs Rubocop when committing a change via git
For new apps the template can be applied as an option:
rails new blog -m ~/timber/template.rb
rails new blog -m https://raw.githubusercontent.com/lugolabs/timber/master/template.rb
For existing applications, you can use the command:
bin/rails app:template LOCATION=~/timber/template.rb
bin/rails app:template LOCATION=https://raw.githubusercontent.com/lugolabs/timber/master/template.rb