Sha256: e1c1db89a84e387d267b6e731dece6c651b5a68d00b2159cb5732dda5b46e066

Contents?: true

Size: 365 Bytes

Versions: 13

Compression:

Stored size: 365 Bytes

Contents

# encoding: utf-8

task :environment do
  require 'adhearsion/punchblock_plugin'

  begin
    Adhearsion.config # load default config vlaues
    initializer = Adhearsion::Initializer.new
    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

13 entries across 13 versions & 1 rubygems

Version Path
adhearsion-2.5.0 lib/adhearsion/tasks/environment.rb
adhearsion-2.4.0 lib/adhearsion/tasks/environment.rb
adhearsion-2.4.0.beta3 lib/adhearsion/tasks/environment.rb
adhearsion-2.4.0.beta2 lib/adhearsion/tasks/environment.rb
adhearsion-2.4.0.beta1 lib/adhearsion/tasks/environment.rb
adhearsion-2.3.5 lib/adhearsion/tasks/environment.rb
adhearsion-2.3.4 lib/adhearsion/tasks/environment.rb
adhearsion-2.3.3 lib/adhearsion/tasks/environment.rb
adhearsion-2.3.2 lib/adhearsion/tasks/environment.rb
adhearsion-2.3.1 lib/adhearsion/tasks/environment.rb
adhearsion-2.3.0 lib/adhearsion/tasks/environment.rb
adhearsion-2.2.1 lib/adhearsion/tasks/environment.rb
adhearsion-2.2.0 lib/adhearsion/tasks/environment.rb