Closed pravi closed 11 years ago
$ ruby2gv -Tpng - oruby2gv.png lib/ruby-graphviz.rb /usr/bin/ruby2gv:119:in parseFile': undefined methodeach' for "require 'graphviz'\n":String (NoMethodError) from /usr/bin/ruby2gv:43:in parse' from /usr/bin/ruby2gv:235:in'
parseFile': undefined method
parse' from /usr/bin/ruby2gv:235:in
Version: ruby-graphviz-1.0.8
Hi Praveen,
line 119 of bin/ruby2gv, replace each by each_line.
$ ruby2gv -Tpng - oruby2gv.png lib/ruby-graphviz.rb /usr/bin/ruby2gv:119:in'
parseFile': undefined method
each' for "require 'graphviz'\n":String (NoMethodError) from /usr/bin/ruby2gv:43:inparse' from /usr/bin/ruby2gv:235:in
Version: ruby-graphviz-1.0.8