Config autoload_paths doesnt seem to work

question

#1

This is what I have in config/application.rb, but when I try to access any class inside lib folder, I get NameError (uninitialized constant MyClass)

config.extra_autoload_paths = %W[#{Jets.root}/lib]


#2

@kapso, tried moving your lib folder to /app/?


#3

@dkobia yea that worked, thanks


#4

This was actually a bug introduced when the zeitwerk autoloader was introduced. Fixed