swift-auto-diagram icon indicating copy to clipboard operation
swift-auto-diagram copied to clipboard

generateEntityDiagram.rb (LoadError)

Open Xcode09 opened this issue 6 years ago • 6 comments

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

Xcode09 avatar Oct 13 '18 08:10 Xcode09

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

yoshimkd avatar Oct 13 '18 08:10 yoshimkd

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 avatar Jan 20 '21 17:01 Karencse

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

yoshimkd avatar Jan 20 '21 18:01 yoshimkd

@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 avatar Jan 20 '21 18:01 Karencse

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

yoshimkd avatar Jan 20 '21 19:01 yoshimkd

@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?

jodanelysee avatar Apr 19 '23 23:04 jodanelysee