Cool. You accepted your own solution - like you figured it out all on your own.
The stdout { codec => rubydebug }
line doesn't change anything, it just shows you whats going on a bit more clearly. My guess is that It was probably working already as per reply from @Badger.
Have a great day.