Sha256: 9d130eb9993d308fed4e96cdba0fd0cacc73957e2d2e3a90037a67c9a23b67b0

Contents?: true

Size: 341 Bytes

Versions: 3

Compression:

Stored size: 341 Bytes

Contents

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
  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-2.0.0.beta1 lib/adhearsion/tasks/environment.rb
adhearsion-2.0.0.alpha3 lib/adhearsion/tasks/environment.rb
adhearsion-2.0.0.alpha2 lib/adhearsion/tasks/environment.rb