Skip to content

Instantly share code, notes, and snippets.

@jameslafa
Last active August 29, 2015 14:05
Show Gist options
  • Select an option

  • Save jameslafa/3fd51c86f21d2a7dc93c to your computer and use it in GitHub Desktop.

Select an option

Save jameslafa/3fd51c86f21d2a7dc93c to your computer and use it in GitHub Desktop.
Install rails-erd to generate models diagrams
1. Install xquartz : https://xquartz.macosforge.org (no need to restart)
2. brew install cairo pango
3. brew install graphviz --with-pangocairo (it's important to install graphviz after cairo and pango)
4. bundle exec erd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment