Wtrz
January 6th, 2009, 06:26 PM
Hi All,
for school i have to output a tree within a ruby application. I found out that graphviz is a suited toolkit for this task.
http://www.oreillynet.com/mac/blog/2005/10/graphviz_why_draw_when_you_can.html
http://www.igvita.com/2007/04/16/decision-tree-learning-in-ruby/
I've installed Eclipse (with ruby), GraphViz, libgraphviz4 and libgv-ruby. When I use
require 'graphviz' the console shows:
no such file to load -- graphviz (LoadError)
I think i need to add the graphviz library to my project, but i can't figure out how to add the graphviz library to a ruby project.
Can someone help me out?
for school i have to output a tree within a ruby application. I found out that graphviz is a suited toolkit for this task.
http://www.oreillynet.com/mac/blog/2005/10/graphviz_why_draw_when_you_can.html
http://www.igvita.com/2007/04/16/decision-tree-learning-in-ruby/
I've installed Eclipse (with ruby), GraphViz, libgraphviz4 and libgv-ruby. When I use
require 'graphviz' the console shows:
no such file to load -- graphviz (LoadError)
I think i need to add the graphviz library to my project, but i can't figure out how to add the graphviz library to a ruby project.
Can someone help me out?