diff options
Diffstat (limited to 'lib/overwrite.rb')
-rw-r--r-- | lib/overwrite.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/overwrite.rb b/lib/overwrite.rb index 0830490..1c9517d 100644 --- a/lib/overwrite.rb +++ b/lib/overwrite.rb @@ -128,7 +128,7 @@ end class File # @return [String] mime_type including charset using linux cmd command def mime_type - `file -ib #{self.path}`.chomp + `file -ib '#{self.path}'`.chomp end end |