1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2025-12-01 05:43:04 +00:00
الملفات
postal/config/boot.rb

17 أسطر
363 B
Ruby

ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
$stdout.sync = true
$stderr.sync = true
require 'bundler/setup' # Set up gems listed in the Gemfile.
require_relative '../lib/postal/config'
Postal.check_config!
ENV['RAILS_ENV'] = Postal.config.rails&.environment || 'development'
if ENV['PROC_NAME']
$0="[postal] #{ENV['PROC_NAME']}"
end