Fixed a bunch of errors regarding dependencies and the Rails logger