source 'https://rubygems.org' git_source(:github) { |repo| "https://github.com/#{repo}.git" } ruby '<%= RUBY_VERSION -%>' <% gemfile_entries.each do |gem| -%> <% if gem.comment -%> # <%= gem.comment %> <% end -%> <%= gem.commented_out ? '# ' : '' %>gem '<%= gem.name %>'<%= %(, '#{gem.version}') if gem.version -%> <% if gem.options.any? -%> , <%= gem.options.map { |k,v| "#{k}: #{v.inspect}" }.join(', ') %> <% end -%> <% end -%> # Use ActiveModel has_secure_password # gem 'bcrypt', '~> 3.1.7' <% unless skip_active_storage? -%> # Use ActiveStorage variant # gem 'mini_magick', '~> 4.8' <% end -%> <% if depend_on_bootsnap? -%> # Reduces boot times through caching; required in config/boot.rb gem 'bootsnap', '>= 1.1.0', require: false <%- end -%> <%- if options.api? -%> # Use Rack CORS for handling Cross-Origin Resource Sharing (CORS), making cross-origin AJAX possible # gem 'rack-cors' <%- end -%> <% if RUBY_ENGINE == 'ruby' -%> group :development, :test do # Call 'byebug' anywhere in the code to # stop execution and get a debugger console gem 'byebug', platforms: %i[mri mingw x64_mingw] gem 'brakeman', require: false gem 'bundler-audit', require: false gem 'rubocop', '~> <%= Bankai::RUBOCOP_VERSION %>', require: false gem 'rubocop-performance', require: false gem 'rubocop-rails', require: false gem 'rubocop-rspec', require: false <%- unless options[:skip_rspec] -%> gem 'database_rewinder' gem 'factory_bot_rails' gem 'faker' gem 'rspec', require: false gem 'rspec-rails', require: false gem 'shoulda', require: false gem 'shoulda-matchers', require: false gem 'simplecov', require: false <%- end -%> gem 'bankai' end group :development do <% if depend_on_listen? -%> gem 'listen', '>= 3.0.5', '< 3.2' <% end -%> <%- unless options.api? -%> # Access an interactive console on exception pages or # by calling 'console' anywhere in the code. <%- if options.dev? || options.edge? -%> gem 'web-console', github: 'rails/web-console' <%- else -%> gem 'web-console', '>= 3.3.0' <%- end -%> <%- end -%> <% if spring_install? -%> # Spring speeds up development by keeping your application running in # the background. Read more: https://github.com/rails/spring gem 'spring' <% if depend_on_listen? -%> gem 'spring-watcher-listen', '~> 2.0.0' <% end -%> <% end -%> <% unless options[:skip_capistrano] -%> gem 'capistrano', '<%= Bankai::CAPISTRANO_VERSION %>' gem 'capistrano-bundler' gem 'capistrano-rails' # gem 'capistrano-sidekiq' # gem 'capistrano-passenger' <% end -%> gem 'annotate', require: false gem 'bullet' gem 'dotenv-rails' gem 'letter_opener' gem 'overcommit', require: false gem 'pry-rails' gem 'rack-mini-profiler', require: false end <%- if depends_on_system_test? -%> group :test do # Adds support for Capybara system testing and selenium driver gem 'capybara', '>= 2.15' gem 'selenium-webdriver' gem 'webdrivers' end <%- end -%> <% end -%> # Windows does not include zoneinfo files, so bundle the tzinfo-data gem gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]