From b91b6e5f1e011cc698a1d6a911110b0399a1a5b6 Mon Sep 17 00:00:00 2001 From: Blake Erickson Date: Fri, 5 Mar 2021 21:34:00 -0700 Subject: [PATCH] Fix bundler warning Move rswag-specs under development and test to resolve this warning: ``` Your Gemfile lists the gem rswag-specs (>= 0) more than once. You should probably keep only one of them. Remove any duplicate entries and specify the gem only once. While it's not a problem now, it could cause errors if you change the version of one of them later. ``` --- Gemfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index 38bb3ad..4818897 100644 --- a/Gemfile +++ b/Gemfile @@ -25,18 +25,20 @@ end gem 'rswag-api', path: './rswag-api' gem 'rswag-ui', path: './rswag-ui' +group :development, :test do + gem 'rswag-specs', path: './rswag-specs' +end + group :test do gem 'capybara' gem 'geckodriver-helper' gem 'generator_spec' gem 'rspec-rails' gem 'selenium-webdriver' - gem 'rswag-specs', path: './rswag-specs' gem 'test-unit' end group :development do - gem 'rswag-specs', path: './rswag-specs' gem 'rubocop' end