From 21bbba2984ac10c98dfbba5b4d60fdcb17b9c4d6 Mon Sep 17 00:00:00 2001 From: Dante Soares Date: Wed, 23 Oct 2024 10:51:52 -0500 Subject: [PATCH] Don't load dotenv-rails in the test env --- Gemfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 79c7a5fcb..7cae046ab 100644 --- a/Gemfile +++ b/Gemfile @@ -16,9 +16,6 @@ gem 'psych', '< 4' # Reduces boot times through caching; required in config/boot.rb gem 'bootsnap', require: false -# Get env variables from .env file -gem 'dotenv-rails' - # Threaded application server gem 'puma' @@ -190,6 +187,11 @@ gem 'rack-cors' # Data visualization and query gem 'blazer' +group :development, :production do + # Get env variables from .env file + gem 'dotenv-rails' +end + group :development, :test do # Run specs in parallel gem 'parallel_tests'