Skip to content

Commit

Permalink
Remove unnecessary env vars from suggested config (#439)
Browse files Browse the repository at this point in the history
- `RACK_ENV` is not strictly needed; `RAILS_ENV` is enough
- `RAILS_LOG_TO_STDOUT` and `RAILS_SERVE_STATIC_ASSETS` are no longer
used in newly generated Rails apps
  • Loading branch information
mattbrictson authored Apr 12, 2024
1 parent 6304452 commit 0b1d026
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/tomo/templates/config.rb.erb
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@ set git_exclusions: %w[
test/
]
set env_vars: {
RACK_ENV: "production",
RAILS_ENV: "production",
RAILS_LOG_TO_STDOUT: "1",
RAILS_SERVE_STATIC_FILES: "1",
RUBY_YJIT_ENABLE: "1",
BOOTSNAP_CACHE_DIR: "tmp/bootsnap-cache",
DATABASE_URL: :prompt,
Expand Down

0 comments on commit 0b1d026

Please sign in to comment.