github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/examples/tracing/jaeger/ruby/rideshare/config/application.rb (about)

     1  require_relative "boot"
     2  
     3  require "rails"
     4  # Pick the frameworks you want:
     5  require "active_model/railtie"
     6  # require "active_job/railtie"
     7  require "active_record/railtie"
     8  # require "active_storage/engine"
     9  require "action_controller/railtie"
    10  # require "action_mailer/railtie"
    11  # require "action_mailbox/engine"
    12  # require "action_text/engine"
    13  require "action_view/railtie"
    14  # require "action_cable/engine"
    15  require "rails/test_unit/railtie"
    16  
    17  # Require the gems listed in Gemfile, including any gems
    18  # you've limited to :test, :development, or :production.
    19  Bundler.require(*Rails.groups)
    20  
    21  module Rideshare
    22    class Application < Rails::Application
    23      # Initialize configuration defaults for originally generated Rails version.
    24      config.load_defaults 7.0
    25  
    26      # Configuration for the application, engines, and railties goes here.
    27      #
    28      # These settings can be overridden in specific environments using the files
    29      # in config/environments, which are processed later.
    30      #
    31      # config.time_zone = "Central Time (US & Canada)"
    32      # config.eager_load_paths << Rails.root.join("extras")
    33  
    34      # Don't generate system test files.
    35      config.generators.system_tests = nil
    36      # config.hosts << "eu-north-ruby"
    37      config.hosts << ENV['SERVER_HOST']
    38    end
    39  end