X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=bindings%2Fruby%2Ftest.rb;fp=bindings%2Fruby%2Ftest.rb;h=48533266b60b6a2f2a66a958a412c375bf7f9eb5;hb=14bce781941e9294b5c7f465e3c2c48237b76be0;hp=3cdcca6177d6687e8a15b9731011fa697ebc9f8a;hpb=daf0ea9ddaeb6745092453511065f1ea3636e946;p=rrdtool.git diff --git a/bindings/ruby/test.rb b/bindings/ruby/test.rb index 3cdcca6..4853326 100755 --- a/bindings/ruby/test.rb +++ b/bindings/ruby/test.rb @@ -2,6 +2,8 @@ # $Id: test.rb,v 1.2 2002/10/22 17:34:00 miles Exp $ # Driver does not carry cash. +$: << '/scratch/rrd12build/lib/ruby/1.8/i386-linux/' + require "RRD" name = "test" @@ -33,8 +35,8 @@ puts "generating graph #{name}.png" RRD.graph( "#{name}.png", "--title", " RubyRRD Demo", - "--start", "#{start} + 1 h", - "--end", "#{start} + 1000 min", + "--start", "#{start+3600}", + "--end", "start + 1000 min", "--interlace", "--imgformat", "PNG", "--width=450",