I need to create some additional ruby files for some other functions
inside a rails project. So I created another folder and put those files
inside it.In this case one file needs to call the classes in other
files, so I used
require ‘filename’
My files run well when I put them in a Ruby project. But the same codes
do not work when I put them inside a folder in a Rails Project.
The problem is with “require” keyword.Error is
`require’: no such file to load --filename (LoadError)
I cannot understand why this happens.Can anyone provide some help in
this regards? I will be really thankful.
No its not working yet, can you please give an example how this line
should be?
Dont mind, I am not very competent, just learning .
so may be missing something