class Armoire
  class Railtie < Rails::Railtie
    initializer "armoire.load_config" do
      Armoire.load! Rails.root.join('config', 'application.yml')
    end
  end
end

class Armoire
  class Railtie < Rails::Railtie
    config.before_configuration do
      Armoire.load! Rails.root.join('config', 'application.yml')
    end
  end
end

Fix the Railtie to run on before_configuration
Fix the Railtie to run on before_configuration
