morellon / rrd-ffi

A ruby wrapper for librrd (rrdtool) using ffi.
MIT License
71 stars 20 forks source link

Undefined constant RRD_FILE in example #20

Closed denispeplin closed 11 years ago

denispeplin commented 11 years ago
./rrd_graph_sample.rb:5:in `block in <main>': uninitialized constant RRD_FILE (NameError)
        from /var/lib/gems/1.9.1/gems/rrd-ffi-0.2.13/lib/rrd.rb:18:in `instance_eval'
        from /var/lib/gems/1.9.1/gems/rrd-ffi-0.2.13/lib/rrd.rb:18:in `graph'
        from ./rrd_graph_sample.rb:4:in `<main>'

Will try to guess what it is and where it should be defined...

denispeplin commented 11 years ago

Understand, RRD_FILE is just the name of the '*.rrd' the file.