Using autoload :Client etc was working fine for me locally, however, I would get a NameError when trying to run in Production, and a LoadError: cannot load such file -- branch_io when trying to require the file.
I was able to fix this issue by using require instead of autoload.
P.S - Thanks for the Gem, does the job quite nicely!
Using
autoload :Client
etc was working fine for me locally, however, I would get aNameError
when trying to run in Production, and aLoadError: cannot load such file -- branch_io
when trying to require the file.I was able to fix this issue by using
require
instead of autoload.P.S - Thanks for the Gem, does the job quite nicely!