glejeune/Ruby-Graphviz — Issue #39: cannot load such file -- xml/xslt
Author: Shamaoke
Created: 2012-02-06 08:53:55+00:00
State: open

Hi.

When I try to run `git2gv` inside a git repository I get the following output:

GraphViz#add_node is deprecated, please use GraphViz#add_nodes
GraphViz#add_node is deprecated, please use GraphViz#add_nodes
GraphViz#add_node is deprecated, please use GraphViz#add_nodes
GraphViz#add_node is deprecated, please use GraphViz#add_nodes
fatal: ambiguous argument 'master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
GraphViz#add_edge is deprecated, please use GraphViz#add_edges
GraphViz#add_edge is deprecated, please use GraphViz#add_edges
GraphViz#add_edge is deprecated, please use GraphViz#add_edges
/home//.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- xml/xslt (LoadError)
from /home//.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home//.rvm/gems/ruby-1.9.3-p0@global/gems/ruby-graphviz-1.0.4/lib/graphviz/nothugly.rb:11:in `'
from /home//.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home//.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home//.rvm/gems/ruby-1.9.3-p0@global/gems/ruby-graphviz-1.0.4/lib/graphviz.rb:550:in `block in output'
from /home//.rvm/gems/ruby-1.9.3-p0@global/gems/ruby-graphviz-1.0.4/lib/graphviz.rb:504:in `each'
from /home//.rvm/gems/ruby-1.9.3-p0@global/gems/ruby-graphviz-1.0.4/lib/graphviz.rb:504:in `output'
from /home//.rvm/gems/ruby-1.9.3-p0@global/gems/ruby-graphviz-1.0.4/bin/git2gv:53:in `run'
from /home//.rvm/gems/ruby-1.9.3-p0@global/gems/ruby-graphviz-1.0.4/bin/git2gv:168:in `'
from /home//.rvm/gems/ruby-1.9.3-p0@global/bin/git2gv:19:in `load'
from /home//.rvm/gems/ruby-1.9.3-p0@global/bin/git2gv:19:in `

'

What is the reason of this issue? How can I force ruby-graphviz to work correctly?

Thanks.

Debian GNU/Linux 6.0.3;

Ruby 1.9.3-p0;

Graphviz 2.26.3;

Ruby-graphviz 1.0.4.