Switch from Figaro to Dotenv for ENV var management

This commit is contained in:
Matt-Yorkley
2021-06-05 13:08:36 +01:00
parent f071ab2038
commit d31208d1e5
2 changed files with 7 additions and 4 deletions

View File

@@ -4,6 +4,8 @@ source 'https://rubygems.org'
ruby "2.7.3"
git_source(:github) { |repo_name| "https://github.com/#{repo_name}.git" }
gem 'dotenv-rails', require: 'dotenv/rails-now' # Load ENV vars before other gems
gem 'rails', '~> 6.1.4'
gem 'activemerchant', '>= 1.78.0'
@@ -70,7 +72,6 @@ gem 'bigdecimal', '3.0.2'
gem 'bootsnap', require: false
gem 'custom_error_message', github: 'jeremydurham/custom-err-msg'
gem 'dalli'
gem 'figaro'
gem 'geocoder'
gem 'gmaps4rails'
gem 'mimemagic', '> 0.3.5'

View File

@@ -245,6 +245,10 @@ GEM
devise (>= 4.0.0, < 5.0.0)
diff-lcs (1.4.4)
docile (1.3.5)
dotenv (2.7.6)
dotenv-rails (2.7.6)
dotenv (= 2.7.6)
railties (>= 3.2)
e2mmap (0.1.0)
erubi (1.10.0)
et-orbi (1.2.4)
@@ -267,8 +271,6 @@ GEM
faraday-net_http_persistent (1.1.0)
ffaker (2.18.0)
ffi (1.15.1)
figaro (1.2.0)
thor (>= 0.14.0, < 2)
flipper (0.20.4)
flipper-active_record (0.20.4)
activerecord (>= 5.0, < 7)
@@ -721,9 +723,9 @@ DEPENDENCIES
devise-encryptable
devise-token_authenticatable
dfc_provider!
dotenv-rails
factory_bot_rails (= 6.2.0)
ffaker
figaro
flipper
flipper-active_record
flipper-ui