Skip to content

Commit

Permalink
fix: update for dotenv 3
Browse files Browse the repository at this point in the history
  • Loading branch information
macite committed May 2, 2024
1 parent 3e1b3fe commit ef8611f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
5 changes: 1 addition & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -504,7 +501,7 @@ DEPENDENCIES
database_cleaner-active_record
devise
devise_ldap_authenticatable
dotenv-rails
dotenv
factory_bot
factory_bot_rails
faker
Expand Down
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ef8611f

Please sign in to comment.