Sha256: 42b0e1122ded3c39034caa4b80706c4c937ef1be0beb41804facb587948318f4

Contents?: true

Size: 463 Bytes

Versions: 3

Compression:

Stored size: 463 Bytes

Contents

Iodine.patch_rack

begin
  require_relative "#{Rage.root}/config/environments/#{Rage.env}"
rescue LoadError
  raise LoadError, "The <#{Rage.env}> environment could not be found. Please check the environment name."
end

# Run application initializers
Dir["#{Rage.root}/config/initializers/**/*.rb"].each { |initializer| load(initializer) }

require "rage/ext/setup"

# Load application classes
Rage.code_loader.setup

require_relative "#{Rage.root}/config/routes"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rage-rb-1.11.0 lib/rage/setup.rb
rage-rb-1.10.1 lib/rage/setup.rb
rage-rb-1.10.0 lib/rage/setup.rb