glejeune / Ruby-Graphviz

[MIRROR] Ruby interface to the GraphViz graphing tool
https://gitlab.com/glejeune/ruby-graphviz
Other
609 stars 116 forks source link

Avoid autoload #55

Closed postmodern closed 12 years ago

postmodern commented 12 years ago

Autoload will be removed from Ruby. Also, it is causing problems with Bundler:

$ rake dm:doc:graphviz --trace
** Invoke dm:doc:graphviz (first_time)
** Invoke dm:doc:graphviz:relational (first_time)
** Invoke dm:doc:graphviz:relational:png (first_time)
** Execute dm:doc:graphviz:relational:png
rake aborted!
cannot load such file -- graphviz/utils/colors
/home/hal/.rvm/gems/ruby-1.9.3-p194/gems/ruby-graphviz-1.0.8/lib/graphviz/types/color.rb:1:in `require'
/home/hal/.rvm/gems/ruby-1.9.3-p194/gems/ruby-graphviz-1.0.8/lib/graphviz/types/color.rb:1:in `'
/home/hal/.rvm/gems/ruby-1.9.3-p194/gems/ruby-graphviz-1.0.8/lib/graphviz/types/color_list.rb:8:in `block in check'
/home/hal/.rvm/gems/ruby-1.9.3-p194/gems/ruby-graphviz-1.0.8/lib/graphviz/types/color_list.rb:8:in `map'
/home/hal/.rvm/gems/ruby-1.9.3-p194/gems/ruby-graphviz-1.0.8/lib/graphviz/types/color_list.rb:8:in `check'
/home/hal/.rvm/gems/ruby-1.9.3-p194/gems/ruby-graphviz-1.0.8/lib/graphviz/types.rb:5:in `initialize'
/home/hal/.rvm/gems/ruby-1.9.3-p194/gems/ruby-graphviz-1.0.8/lib/graphviz/attrs.rb:62:in `new'
/home/hal/.rvm/gems/ruby-1.9.3-p194/gems/ruby-graphviz-1.0.8/lib/graphviz/attrs.rb:62:in `[]='
/home/hal/.rvm/gems/ruby-1.9.3-p194/gems/ruby-graphviz-1.0.8/lib/graphviz/edge.rb:77:in `[]='
/home/hal/.rvm/gems/ruby-1.9.3-p194/gems/ruby-graphviz-1.0.8/lib/graphviz.rb:210:in `block in add_edges'
/home/hal/.rvm/gems/ruby-1.9.3-p194/gems/ruby-graphviz-1.0.8/lib/graphviz.rb:209:in `each'
/home/hal/.rvm/gems/ruby-1.9.3-p194/gems/ruby-graphviz-1.0.8/lib/graphviz.rb:209:in `add_edges'
glejeune commented 12 years ago

OK, could you try with the last push.

postmodern commented 12 years ago

Works perfectly now. Thanks!