That should be `Pathname(options[:target_dir])`; the `.new` is extraneous. :)