yoshimkd/swift-auto-diagram

generateEntityDiagram.rb (LoadError)

Xcode09 opened this issue · 6 comments

I enter my project but this error comes ruby: No such file or directory what is problem

Can you please give us some more information on how you invoke the ruby command and what is the folder structure?

Hello. I'm having the same problem.
I run the command git clone https://github.com/yoshimkd/swift-auto-diagram into Terminal.
Then ruby generateEntityDiagram.rb ~/User/ProjectName
and then I get the error ruby: No such file or directory -- generateEntityDiagram.rb (LoadError).

What I'm doing wrong?
Thanks for the help!

@Karencse Do you execute the command from the directory where the generateEntityDiagram.rb script is located (the cloned directory)?

@Karencse Do you execute the command from the directory where the generateEntityDiagram.rb script is located (the cloned directory)?

Hello yoshimkd,
thanks for your answer. I checked that. I'm executing the command from the directory (swift-auto-diagram). The project is in my desktop. So I called
ruby generateEntityDiagram.rb~/Users/karencruz/Desktop/TrackingApp

but im still having this issue.
ruby: No such file or directory -- generateEntityDiagram.rb~/Users/karencruz/Desktop/TrackingApp (LoadError)

@Karencse There should be a space character before specifying the directory: ruby generateEntityDiagram.rb ~/Users/karencruz/Desktop/TrackingApp.

@yoshimkd Hello yoshimkd, I am having a similar issue.

I am typing -- ruby generateEntityDiagram.rb ~/Users/jodanelysee/Desktop/Bullseye -- into my terminal and it keeps on telling me: ruby: No such file or directory -- generateEntityDiagram.rb (LoadError)

When I check the info on the file that I want to diagram, that is the file path that it is giving me and It is still not working. What could I do to fix this?