From: Pradeep Sethi Date: 2012-09-28T14:52:52+09:00 Subject: ruby bindings for RRDtool 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 Oetiker 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. (www.gnu.org/copyleft/gpl.html) 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 > -- Posted via http://www.ruby-forum.com/.