Hi,
I want to run a lib of ruby files from the command prompt from anywhere in a command line. I have the Main.rb program which instantiates classes from other ruby files.
I store the class path of my lib in the .zshrc. Then I run the Main.rb but it is not able to load the required ruby files (files in my lib folder) and throws this error:
`require': no such file to load -- Data.rb (LoadError)
How can I tackle this issue? I just need a neat command to be run on shell and throw results on console.
Please help.