Use Rails.logger when on Rails

[fixes #56]