Hi
I installed RRDTool on mac & am trying to use RRD from Ruby but it is
not able to find the Ruby bindings? The documentation says that perl,
ruby bindings are included by default
Can anyone pls help, where would I find the ruby bindings ?
Thanks in advance
Pradeep
======
Admins-MacBook-Pro-2:~ psethi$ rrdtool -v
RRDtool 1.4.7 Copyright 1997-2012 by Tobias O. [email protected]
Compiled Jun 28 2012 01:32:28
Usage: rrdtool [options] command command_options
Valid commands: create, update, updatev, graph, graphv, dump, restore,
last, lastupdate, first, info, fetch, tune,
resize, xport, flushcached
RRDtool is distributed under the Terms of the GNU General
Public License Version 2. (The GNU General Public License v3.0 - GNU Project - Free Software Foundation)
For more information read the RRD manpages
Admins-MacBook-Pro-2:~ psethi$ which rrdtool
/opt/local/bin/rrdtool
Admins-MacBook-Pro-2:~ psethi$ irb
1.9.3p0 :001 > use ‘RRD’
NoMethodError: undefined method use' for main:Object from (irb):1 from /Users/psethi/.rvm/rubies/ruby-1.9.3-p0/bin/irb:16:in
’
1.9.3p0 :002 > require ‘RRD’
LoadError: cannot load such file – RRD
from
/Users/psethi/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' from /Users/psethi/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require’
from (irb):2
from /Users/psethi/.rvm/rubies/ruby-1.9.3-p0/bin/irb:16:in `’
1.9.3p0 :003 >