- secrets.rb: Process ERB tags in secrets.yml and use ||= to not
overwrite existing ENV vars (was clobbering SERVER_MODE=cloud with
literal ERB string, causing app to fall into 'application' mode
and redirect to /en/activate)
- license.rb: Use ENV['REDIS_URL'] for all Redis.new calls instead
of defaulting to localhost (infrastructure Redis requires auth)
- redis.yml: Use ERB to read REDIS_URL env var for production
- sidekiq.rb: Process ERB when loading redis.yml
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>