config resolution with erb