cirandas.net

ref: master

config/environment.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
require_relative 'dotenv'
require_relative 'application'

Noosfero::Application.initialize!

# load a local configuration if present, but not under test environment.
unless ENV['RAILS_ENV'].in? %w[test cucumber]
  localconfigfile = Rails.root.join('config', 'local.rb')
  require localconfigfile if File.exists? localconfigfile
end