Getting cannot load file in Rails 7.0.7.1

237 Views Asked by At

Updated to 7.0.7.1 and now am getting "cannot find file" errors when requiring rails when running a Rake task. This happens when I try to run a rake task or even "rake --task".

Have tried changing zeitwerk autoload_paths and fiddling with different zeitwerk config.

1

There are 1 best solutions below

0
exosyphon On BEST ANSWER

Turns out the file permissions were changed on 7.0.7.1 incorrectly.

Updating to 7.0.7.2 fixed the problem.

Rails Release 7.0.7.2