Hello. I have a Rails plugin that calls the require method several
times on other ruby files that are underneath
Within the controller calling “require ‘blah/blah.rb’” works fine, but
inside of that class (blah.rb), calling “require
All of my ruby files for the plugin are underneath the lib directory of
the plugin. But they are not loaded by the interpreter if referenced by
another class within the plugin. It only appears to work if loaded from
a Rails class (controller etc.).
Is this a bug in the way plugins load ruby files? Any thoughts?