Sha256: fa1f8efbbda8c381d758fd568859bf7e591970d1bf04cd69aaa2d303f49957a1

Contents?: true

Size: 399 Bytes

Versions: 8

Compression:

Stored size: 399 Bytes

Contents

# encoding: utf-8

task :environment do
  require 'adhearsion/punchblock_plugin'

  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

8 entries across 8 versions & 1 rubygems

Version Path
adhearsion-2.6.4 lib/adhearsion/tasks/environment.rb
adhearsion-2.6.3 lib/adhearsion/tasks/environment.rb
adhearsion-2.6.2 lib/adhearsion/tasks/environment.rb
adhearsion-2.6.1 lib/adhearsion/tasks/environment.rb
adhearsion-2.6.0 lib/adhearsion/tasks/environment.rb
adhearsion-2.5.4 lib/adhearsion/tasks/environment.rb
adhearsion-2.5.3 lib/adhearsion/tasks/environment.rb
adhearsion-2.5.2 lib/adhearsion/tasks/environment.rb