Use dotenv to load .env configurations

This commit is contained in:
bumi 2020-04-06 11:21:40 +02:00
parent d55317fe43
commit 2b6e6ad99d
2 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,7 @@ gem "sentry-raven"
group :development, :test do group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console # Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw] gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
gem 'dotenv-rails'
end end
group :development do group :development do

View File

@ -66,6 +66,10 @@ GEM
crass (1.0.6) crass (1.0.6)
declarative (0.0.10) declarative (0.0.10)
declarative-option (0.1.0) declarative-option (0.1.0)
dotenv (2.7.5)
dotenv-rails (2.7.5)
dotenv (= 2.7.5)
railties (>= 3.2, < 6.1)
erubi (1.9.0) erubi (1.9.0)
faraday (1.0.1) faraday (1.0.1)
multipart-post (>= 1.2, < 3) multipart-post (>= 1.2, < 3)
@ -216,6 +220,7 @@ PLATFORMS
DEPENDENCIES DEPENDENCIES
bootsnap (>= 1.4.2) bootsnap (>= 1.4.2)
byebug byebug
dotenv-rails
google-api-client google-api-client
jbuilder jbuilder
listen listen