Rails.root is a Pathname, not a String