Ruby wrapper for the Unix file/libmagic utility, which can guess mime types and character sets.
Moses Hohman
MIT