Skip to content

Commit fc3a223

Browse files
authored
Merge pull request #52 from infieldai/psych4-support
Add support for psych 4.0
2 parents ccbb3b6 + 0ac35a5 commit fc3a223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/activemessaging/gateway.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ def current_processor_group
368368
end
369369

370370
def load_connection_configuration(label='default')
371-
@broker_yml = YAML::load(ERB.new(IO.read(File.join(ActiveMessaging.app_root, 'config', 'broker.yml'))).result) if @broker_yml.nil?
371+
@broker_yml = YAML::load(ERB.new(IO.read(File.join(ActiveMessaging.app_root, 'config', 'broker.yml'))).result, aliases: true) if @broker_yml.nil?
372372
if label == 'default'
373373
config = @broker_yml[ActiveMessaging.app_env].symbolize_keys
374374
else

0 commit comments

Comments
 (0)