From 3fc95d6d7e65813041769d9f85e81fe03f7f3809 Mon Sep 17 00:00:00 2001 From: Matt Critchlow Date: Mon, 2 Mar 2020 15:42:08 -0800 Subject: [PATCH] Group capistrano gems for deployment This allows the application to leverage the BUNDLE_WITHOUT and BUNDLE_WITH environment variables for usage in GitLab's CI/CD system. --- Gemfile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Gemfile b/Gemfile index 2528587f..1d85e3f6 100644 --- a/Gemfile +++ b/Gemfile @@ -29,12 +29,6 @@ gem 'qa', '~> 1.1.0' gem 'sprockets', '~> 2.12.4' # locked gem 'rack-dev-mark', '~> 0.7.5' -# Deploy with Capistrano -gem 'capistrano', '~> 3.8.1' -gem 'capistrano-rails', '~> 1.2.3' -gem 'capistrano-rbenv', '~> 2.1.1' -gem 'capistrano-bundler', '~> 1.2.0' - gem "i18n", '~> 0.8.1' gem "bootstrap-sass", '~> 2.3.2.2' # locked because blacklight 4.7 gem "bower-rails", "~> 0.11.0" @@ -51,6 +45,14 @@ gem 'coveralls', '0.8.21', require: false gem 'rubyzip', '1.3.0' gem 'whenever', require: false +# Deploy with Capistrano +group :deploy do + gem 'capistrano', '~> 3.8.1' + gem 'capistrano-rails', '~> 1.2.3' + gem 'capistrano-rbenv', '~> 2.1.1' + gem 'capistrano-bundler', '~> 1.2.0' +end + group :development, :test do gem 'byebug' gem 'sass-rails', '~> 5.0.5' # locked