cartodb-4.42/config/environment.rb

20 lines
376 B
Ruby
Raw Permalink Normal View History

2024-04-06 13:25:13 +08:00
# Load the rails application
require File.expand_path('../application', __FILE__)
require 'carto/configuration'
module Rails
class Application
class Configuration
include Carto::Configuration
def database_configuration
require 'erb'
db_config
end
end
end
end
# Initialize the rails application
CartoDB::Application.initialize!