Ara.T.Howard wrote: > On Fri, 21 Oct 2005, soxinbox wrote: > > > I installed gnuplot gem, and I am getting some syntax errors when I try to > > run the samples on the projects web page. > > > >> ruby test.rb > > c:/programs/ruby/lib/ruby/gems/1.8/gems/gnuplot-2.1/lib/gnuplot.rb:20:in > > `popen': No such file or directory - which gnuplot (Errno::ENOENT) > > from > > it looks like the code must do > > IO::popen `which gnuplot` > > so either > > - gnuplot is not on your system > > - gnuplot is not in your path > > can you verify both of these? from the shell do > > ~:> which -a gnuplot > Ara is completely correct with his diagnosis. You have two choices, either ensure that gnuplot is in your path or hardcode the path in the gnuplot.rb file. I've struggled for a number of years on how to improvie this but haven't been able to come up with something better that satisfies my sense of right and wrong. Suggestions would be appreciated. Gordon