Class: Merb::BootLoader::Dependencies

Class | Merb::BootLoader::Dependencies
In: | lib/merb-core/bootloader.rb
Parent: | Merb::BootLoader

### Methods

enable_json_gem load_dependencies run set_encoding update_logger

### Public Class methods

enable_json_gem()

Loads json or json_pure and requires it.

#### Returns

nil

:api: private

load_dependencies()

Load each dependency that has been declared so far.

#### Returns

nil

:api: private

run()

Load the init_file specified in Merb::Config or if not specified, the init.rb file from the Merb configuration directory, and any environment files, which register the list of necessary dependencies and any after_app_loads hooks.

Dependencies can hook into the bootloader process itself by using before or after insertion methods. Since these are loaded from this bootloader (Dependencies), they can only adapt the bootloaders that haven‘t been loaded up until this point.

#### Returns

nil

:api: plugin

set_encoding()

Default encoding to UTF8 if it has not already been set to something else.

#### Returns

nil

:api: private

update_logger()

Resets the logger and sets the log_stream to Merb::Config[:log_file] if one is specified, falling back to STDOUT.

#### Returns

nil

:api: private

[Validate]