add require 'logger'

Hi,
It is in the error in line 90 If I do not have to require the logger in script.
please fix it.