Commit 560ac3d7 by Jon Wood Committed by GitHub

Merge pull request #115 from NickLaMuro/ruby-2.2-compliant-Rakefile

[ex/mimemagic/Rakefile] Use older Ruby HEREDOC
parents 00fbbd4c 73d58ba6
...@@ -11,7 +11,7 @@ def locate_mime_database ...@@ -11,7 +11,7 @@ def locate_mime_database
path = possible_paths.find { |candidate| File.exist?(candidate) } path = possible_paths.find { |candidate| File.exist?(candidate) }
return path unless path.nil? return path unless path.nil?
raise(<<~ERROR) raise(<<-ERROR.gsub(/^ {3}/, ""))
Could not find MIME type database in the following locations: #{possible_paths} Could not find MIME type database in the following locations: #{possible_paths}
Ensure you have either installed the shared-mime-info package for your distribution, or Ensure you have either installed the shared-mime-info package for your distribution, or
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment