package require fileutil::magic::filetype
fileutil::magic::filetype

Based on inspection of the source code of the module, I expected the output to be something like:

    mime text/x-ruby

but there's no output at all.

Checking to see if the module is correctly installed, I run this command:

    fileutil::magic::filetype

And I get this output:

    {{HTML document text}} {text html} {}

So, it seems to be working as designed, at least in some instances. But others, such as script and text files, return no output. This seems to be a bug to me.

Kevin, could you attach a small sample ruby file to the ticket which demos the problem ?