Sha256: 25666f0adc84c8268010ca90360ab03cbe64db0551f81859dd05f163362b89d1

Contents?: true

Size: 357 Bytes

Versions: 3

Compression:

Stored size: 357 Bytes

Contents

# encoding: utf-8

task :environment do
  begin
    Adhearsion.config # load default config vlaues
    initializer = Adhearsion::Initializer.new
    initializer.configure_plugins
    initializer.load_lib_folder
    initializer.load_config_file
  rescue Exception => ex
    STDERR.puts "\nError while loading application configuration file: #{ex}"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
adhearsion-3.0.0.rc1 lib/adhearsion/tasks/environment.rb
adhearsion-3.0.0.beta2 lib/adhearsion/tasks/environment.rb
adhearsion-3.0.0.beta1 lib/adhearsion/tasks/environment.rb