Config autoload_paths doesnt seem to work

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]

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

1 Like

@dkobia yea that worked, thanks

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