Skip to content

Commit

Permalink
Configure dotenv-rails
Browse files Browse the repository at this point in the history
  • Loading branch information
woarewe committed Mar 27, 2023
1 parent b4f48c1 commit 9863d09
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
Empty file added .env.example
Empty file.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@

# Ignore master key for decrypting credentials and more.
/config/master.key
/.env
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby "3.2.1"

# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
gem "dotenv-rails", "~> 2.8", ">= 2.8.1", require: "dotenv/rails-now"

gem "rails", "~> 7.0.4", ">= 7.0.4.3"

# Use postgresql as the database for Active Record
Expand Down
5 changes: 5 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ GEM
crass (1.0.6)
date (3.3.3)
debug (1.7.1)
dotenv (2.8.1)
dotenv-rails (2.8.1)
dotenv (= 2.8.1)
railties (>= 3.2)
erubi (1.12.0)
globalid (1.1.0)
activesupport (>= 5.0)
Expand Down Expand Up @@ -181,6 +185,7 @@ PLATFORMS
DEPENDENCIES
bootsnap
debug
dotenv-rails (~> 2.8, >= 2.8.1)
pg (~> 1.1)
puma (~> 5.0)
rails (~> 7.0.4, >= 7.0.4.3)
Expand Down

0 comments on commit 9863d09

Please sign in to comment.