Correções para funcionamento do Docker

This commit is contained in:
2026-06-11 19:30:40 -03:00
parent 3b07e72d6e
commit b59fedec5c
25 changed files with 203 additions and 1 deletions

27
config/application.rb Normal file
View File

@@ -0,0 +1,27 @@
require_relative "boot"
require "rails/all"
Bundler.require(*Rails.groups)
require "dotenv/load" if defined?(Dotenv)
module GadeLogistica
class Application < Rails::Application
config.load_defaults 7.1
# Timezone e idioma Brasil
config.time_zone = "America/Sao_Paulo"
config.i18n.default_locale = :'pt-BR'
config.i18n.available_locales = [:'pt-BR', :en]
config.i18n.fallbacks = [:en]
# Autoload de services
config.autoload_paths += %W[#{config.root}/app/services]
# Não gerar specs/helpers desnecessários
config.generators do |g|
g.test_framework :rspec
g.helper false
g.stylesheets false
end
end
end