huangw / mongoid-erd-gem

A ruby-gem for creating ERD graphs from mongoid model source code.
12 stars 11 forks source link

Broken pipe @ io_write - <STDOUT> (Errno::EPIPE) #4

Open rubyconvict opened 8 years ago

rubyconvict commented 8 years ago
(...)/vendor/bundle/ruby/2.2.0/gems/rviz-0.1.0/lib/rviz/graph.rb:93:in `write': Broken pipe @ io_write - <STDOUT> (Errno::EPIPE)
  from (...)/vendor/bundle/ruby/2.2.0/gems/rviz-0.1.0/lib/rviz/graph.rb:93:in `puts'
  from (...)/vendor/bundle/ruby/2.2.0/gems/rviz-0.1.0/lib/rviz/graph.rb:93:in `block in output'
  from (...)/vendor/bundle/ruby/2.2.0/gems/rviz-0.1.0/lib/rviz/graph.rb:93:in `each'
  from (...)/vendor/bundle/ruby/2.2.0/gems/rviz-0.1.0/lib/rviz/graph.rb:93:in `output'
  from (...)/vendor/bundle/ruby/2.2.0/gems/mongoid-erd-0.0.8/lib/mongoid_erd.rb:217:in `output'
  from (...)/vendor/bundle/ruby/2.2.0/gems/mongoid-erd-0.0.8/bin/merd:59:in `<top (required)>'
  from (...)/vendor/bundle/ruby/2.2.0/bin/merd:23:in `load'
  from (...)/vendor/bundle/ruby/2.2.0/bin/merd:23:in `<main>'
nofxx commented 6 years ago

You're piping to a nonexistent folder perhaps? > docs/foo.png , "docs" should be created first.