yoshimkd / swift-auto-diagram

A Ruby script that scans all swift code from the specified folders and files and automatically generates an entity diagram (similar to a class diagram) which can be viewed in a browser.
MIT License
496 stars 57 forks source link

How to run the ruby script? #11

Closed navaneet closed 6 years ago

navaneet commented 6 years ago

I also unable to run the command ruby generateEntityDiagram.rb.

When I run it the browser window opens in safari and simply sits there. There seems to be an error in the browser console

error
ZdravkoN commented 6 years ago

Hi @navaneet , can you try with Google Chrome?

navaneet commented 6 years ago

I can probably try to run it on firefox, I have it installed, don't have chrome right now. Can I change the browser that opens by default from the ruby script?

yoshimkd commented 6 years ago

@navaneet Just copy the URL of the generated file and paste it in another browser (preferably Chrome).

navaneet commented 6 years ago

K thanks