Avoid autoload #55

Closed
postmodern opened this Issue Aug 4, 2012 · 2 comments

Comments

Projects
None yet
2 participants
Contributor

postmodern commented Aug 4, 2012

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 glejeune added a commit that referenced this issue Aug 4, 2012

@glejeune glejeune Issue #55 fd513e4
Owner

glejeune commented Aug 4, 2012

OK, could you try with the last push.

Contributor

postmodern commented Aug 4, 2012

Works perfectly now. Thanks!

glejeune closed this Aug 5, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment