Open mooreniemi opened 9 years ago
still broken
i pry'd into:
def output_and_errors_from_command(cmd) #:nodoc: unless defined? Open3 begin require 'open3' require 'win32/open3' rescue LoadError end end begin require 'pry' binding.pry out, err, status = Open3.capture3(cmd, :binmode => true) [out, err, status.exitstatus] rescue NotImplementedError, NoMethodError IO.popen( cmd ) do |stdout| stdout.binmode [stdout.read, nil, nil] end end end
and found the command being constructed ran without errors when i ran it in my console directly
/Users/amooreniemi/.rvm/gems/jruby-1.7.13/gems/ruby-graphviz-1.2.1/lib/graphviz/utils.rb:61:in `output_from_command': Error from ["/usr/local/bin/dot", "-q1", "-Tpng", "-o/Users/amooreniemi/work repos/zipcar-rails-core/gem_graph.png", "/var/folders/fh/hd6ktyp11mg2gft_gcph47sjt21mtb/T/graphviz.rb20150320-16670-e641zp"]: (RuntimeError) Error: dot: can't open {}