lib/adhearsion/initializer.rb in adhearsion-2.4.0.beta1 vs lib/adhearsion/initializer.rb in adhearsion-2.4.0.beta2

- old
+ new

@@ -178,9 +178,11 @@ return false if Adhearsion.config.platform.lib.nil? lib_folder = [Adhearsion.config.platform.root, Adhearsion.config.platform.lib].join '/' return false unless File.directory? lib_folder + $LOAD_PATH.unshift lib_folder + Dir.chdir lib_folder do rbfiles = File.join "**", "*.rb" Dir.glob(rbfiles).each do |file| require "#{lib_folder}/#{file}" end