]> granicus.if.org Git - graphviz/commitdiff
simpler fix
authorellson <devnull@localhost>
Thu, 27 Sep 2007 20:55:01 +0000 (20:55 +0000)
committerellson <devnull@localhost>
Thu, 27 Sep 2007 20:55:01 +0000 (20:55 +0000)
tclpkg/gv/demo/modgraph.rb

index b5194aba5c33fc1af27fed4efa956a779ab994f6..c57b6bafd0c4065515a03ec74efd1a9f1d92dd03 100755 (executable)
@@ -4,8 +4,7 @@
 
 # author: John Ellson <ellson@research.att.com>
 
-$:.push("/usr/lib/graphviz/ruby")
-require 'gv'
+require '/usr/lib/graphviz/ruby/gv.so'
 
 G = Gv.digraph("G")
 N = Gv.protonode(G)