So if `Mime::PDF` *isn't* defined this will blow up with `NameError: uninitialized constant Mime::PDF`.

You probably want to use `unless defined?(Mime::PDF)`