I would like to distribute an executable for Mac/Windows of a Ruby script that (besides other things) will be doing a conversion from/to common image formats to .xpm / X PixMap (wikipedia)
I know about the following gems that act as a wrapper around pre-installed libraries (mostly ImageMagick): RMagick, Mini magick, Image science, Magickly, Devil, Im magick, Free-image, etc.
The problem boils down to, from what I understand, the following: Imagemagick and Freeimage need to be installed on the system, not just pointed in a relative way in the script. And Ruby2Exe, Ocra, Crate don't have the functionality to distribute the library and my script, as an executable.
Is there a technical reason why I haven't yet found a gem can perform this operation without the use of an external library? What are the possible solutions to my problem?