Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

graphviz hangs creating pdf #97

Open
blahblahyaya opened this issue Dec 19, 2014 · 0 comments
Open

graphviz hangs creating pdf #97

blahblahyaya opened this issue Dec 19, 2014 · 0 comments

Comments

@blahblahyaya
Copy link

From: https://github.com/voormedia/rails-erd
voormedia/rails-erd#63

stringsn88keys commented on Apr 30
I spent a bit of time looking at this, and if you run the command built in ruby-graphviz-1.0.9/lib/graphviz.rb:589 in a separate shell while debugging, the pdf generates just fine.

ruby-graphviz seems to be getting hung up on the call to popen_run in open3.rb ruby 2.1.1 for me. This may need written up in ruby-graphviz (or maybe ruby 2.1, but seems like there would be more problems elsewhere in that case).

We are using
rake erd filetype=dot
dot -Tpdf erd.dot > erd.pdf

as a workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant