get the gem in running order to write a logfile in Rails.root/memory.log