voormedia / rails-erd

Generate Entity-Relationship Diagrams for Rails applications
http://voormedia.github.io/rails-erd/
MIT License
3.98k stars 363 forks source link

Error when trying to run on Ubuntu #370

Open lloydwatkin opened 3 years ago

lloydwatkin commented 3 years ago

Saving diagram failed! Graphviz produced errors. Verify it has support for filetype=pdf, or use filetype=dot. Original error: Error: /tmp/graphviz.rb20210610-46672-67w1yb: syntax error in line 110 near '{' bin/rails:4:in `

'

Caused by: Error from ["/usr/bin/dot", "-q1", "-Tpdf", "-oerd.pdf", "/tmp/graphviz.rb20210610-46672-67w1yb"]: Error: /tmp/graphviz.rb20210610-46672-67w1yb: syntax error in line 110 near '{' bin/rails:4:in `

' Tasks: TOP => erd => erd:generate (See full trace by running task with --trace)

graphviz is already the newest version (2.42.2-3build2).

hendra commented 1 year ago

Any update regarding this issue ? I got the same problem.

simi commented 1 year ago

Can you provide steps to reproduce?

kerrizor commented 1 year ago

..also if you can confirm the version of rails-erd @hendra that'd help!