I'm trying to use Gnuplot in a regular Ruby application (which uses Bundler). When I require "gnuplot", that works fine (it returns true). Unfortunately, the Gnuplot constant does not exist.
One questioner on StackOverflow suggested it's due to gem require order (gnuplot needs to come before gsl). I've tried rearranging my Gemfile in every manner of order (bundler now requires in the user-specified order), but no luck.
How does one use the gnuplot gem when gsl is also being used?
I'm trying to use Gnuplot in a regular Ruby application (which uses Bundler). When I
require "gnuplot", that works fine (it returnstrue). Unfortunately, theGnuplotconstant does not exist.One questioner on StackOverflow suggested it's due to gem require order (gnuplot needs to come before gsl). I've tried rearranging my Gemfile in every manner of order (bundler now requires in the user-specified order), but no luck.
How does one use the gnuplot gem when gsl is also being used?