Hans M. wrote in post #1101355:
does not work, because autoload use require, not require_relative, your
mylibrary.rb is not in the LOAD_PATH, so the normal require cant find
it, thats why autoload does not work…
but as you can see, the accessing of an non-existing constant does
result in an require
That means I need to put it any one of the directory as found below:
Thanks for your hints. I will give it a try.