@slbaumgartner said:
The requirement to run on a machine without a local installation of Ruby complicates the situation. Rubies generally assume that they are running on a standard installation. This means they expect all the standard distribution libraries, as well as their own suite, to be available where Ruby can find them. But SU ships with a bare-bones interpreter without any libraries. So, there is no way to avoid the fact that you will need to provide every file required (recursively) by anything you want to use. It might actually be easier to include a ruby distribution with your application, though that certainly does make a heavyweight plugin! You can manipulate $LOAD_PATH to cause SU's Ruby to find required files in non-default places.
This is actually the path that ended up working for use, we simply included the Ruby 1.8.6 distribution in the plugin. Not ideal, but the size wasn't too bad for our needs. We have since been able to get googlecharts working, although it would be nice to have a standalone solution that didn't require an internet connection to use. Gruff relies on ImageMagick, and we don't want to rely on users downloading another program, nor do we want to try and package that whole application with the plugin. Still exploring some different options...
For the sake of context, our plugin makes use of .epw files that contain weather data for a particular location over a typical year. We are planning on adding a tool that allows the users to view these files graphically so they can better understand how the various parameters change over the given year, and find portions of the year that may be of interest to them. Our ideal situation would be to have graphing capability without any dependency on web connectivity, but it is looking a little more difficult that I would have thought. Most information online is geared towards Ruby on Rails which makes it challenging to sift through and find options that could actually work.
Thanks for the reply though, it definitely matches up with what we thought was going on!