source 'https://rubygems.org' gem 'rake' <%- if config[:hanami_head] -%> gem 'hanami-utils', require: false, github: 'hanami/utils' gem 'hanami-router', require: false, github: 'hanami/router' gem 'hanami-validations', require: false, github: 'hanami/validations' gem 'hanami-helpers', require: false, github: 'hanami/helpers' gem 'hanami-controller', require: false, github: 'hanami/controller' gem 'hanami-view', require: false, github: 'hanami/view' gem 'hanami-model', require: false, github: 'hanami/model' gem 'hanami-mailer', require: false, github: 'hanami/mailer' gem 'hanami-assets', require: false, github: 'hanami/assets' gem 'hanami', github: 'hanami/hanami' <%- else -%> gem 'hanami', '<%= config[:hanami_version] %>' gem 'hanami-model', '<%= config[:hanami_model_version] %>' <%- end -%> <%- if config[:database_config][:gem] -%> gem '<%= config[:database_config][:gem] %>' <%- end -%> <%- case config[:template] -%> <%- when 'slim' -%> gem 'slim' <%- when 'haml' -%> gem 'haml' <%- end -%> <%- if config[:code_reloading] -%> group :development do # Code reloading # See: http://hanamirb.org/guides/projects/code-reloading gem 'shotgun' end <%- end -%> group :test, :development do gem 'dotenv', '~> 2.0' end group :test do <%- if config[:test] == 'rspec' -%> gem 'rspec' <%- else -%> gem 'minitest' <%- end -%> gem 'capybara' end group :production do # gem 'puma' end