Skip to content

Commit 3359240

Browse files
committed
Remove default .env from Kamal and just rely on .env.erb (Closes rails#51829)
1 parent 5e3611e commit 3359240

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

railties/lib/rails/generators/app_base.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -731,6 +731,7 @@ def run_kamal
731731
bundle_command "binstubs kamal"
732732
bundle_command "exec kamal init"
733733

734+
remove_file ".env"
734735
template "env.erb", ".env.erb"
735736
template "config/deploy.yml", force: true
736737
end

0 commit comments

Comments
 (0)