Sha256: 0c32ab459fbb0c49851b3de4c37346b2acbe2e806243725cf51c3fa476e1865e

Contents?: true

Size: 659 Bytes

Versions: 2

Compression:

Stored size: 659 Bytes

Contents

require 'ruby-debug'

fl = File.join(File.dirname(__FILE__), "mack")

require File.join(fl, "initialization", "configuration.rb")

unless Mack::Configuration.initialized_application
  
  Mack.logger.debug "Starting application in #{Mack.env} mode."
  Mack.logger.debug "Mack root: #{Mack.root}"
  Mack.logger.debug "Mack version: #{Mack::VERSION}"

  require File.join(fl, "initialization", "application.rb")
  
  require File.join(fl, "initialization", "helpers.rb")
  
  Mack::Configuration.initialized_application = true if Mack::Configuration.initialized_application.nil?

  Mack.logger.debug "Initialization of Mack Application Environment finished."
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mack-0.7.0.1 lib/mack_app.rb
mack-0.7.0 lib/mack_app.rb