diff --git a/Gemfile b/Gemfile index b937d0fa8..dd6d7e999 100644 --- a/Gemfile +++ b/Gemfile @@ -79,7 +79,7 @@ gem 'grape-swagger-rails' # Miscellaneous gem 'bunny-pub-sub', '0.5.2' gem 'ci_reporter' -gem 'dotenv-rails' +gem 'dotenv' gem 'rack-cors', require: 'rack/cors' gem 'require_all', '>=1.3.3' diff --git a/Gemfile.lock b/Gemfile.lock index 3bd5a04f4..06c3f1fcc 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -131,9 +131,6 @@ GEM docile (1.4.0) domain_name (0.6.20240107) dotenv (3.1.1) - dotenv-rails (3.1.1) - dotenv (= 3.1.1) - railties (>= 6.1) drb (2.2.1) dry-core (1.0.1) concurrent-ruby (~> 1.0) @@ -504,7 +501,7 @@ DEPENDENCIES database_cleaner-active_record devise devise_ldap_authenticatable - dotenv-rails + dotenv factory_bot factory_bot_rails faker diff --git a/config/application.rb b/config/application.rb index c6a5ce9aa..beb541e27 100644 --- a/config/application.rb +++ b/config/application.rb @@ -17,7 +17,7 @@ class Application < Rails::Application config.load_defaults 7.0 # Load .env variables - Dotenv::Railtie.load + Dotenv::Rails.load # ==> Authentication Method # Authentication method default is database, but possible settings