Fixed config ru. I was creating the lambda with do end instead of {}