Mercurial > zeropaste
view config/config_init.rb @ 507:7ea98672ba1f default tip
Fix converted string
author | nanaya <me@nanaya.net> |
---|---|
date | Sat, 29 Mar 2025 19:09:48 +0900 |
parents | 7236c8864ad2 |
children |
line wrap: on
line source
$cfg = {} $cfg[:secret_key] = ENV["SECRET_KEY"] env = ENV["RAILS_ENV"] || ENV["RACK_ENV"] || "development" config_local = File.expand_path("config_local_#{env}.rb", __dir__) require config_local if File.exist? config_local $cfg.freeze