The file command allows (using the "-m" flag) the use of different magic files than the default. I don't believe that this is currently available from ruby using this gem. This functionality does exist in libmagic, though. I'm not fully up on it, but it seems like the call is to magic_load.
The file command allows (using the "-m" flag) the use of different magic files than the default. I don't believe that this is currently available from ruby using this gem. This functionality does exist in libmagic, though. I'm not fully up on it, but it seems like the call is to magic_load.