ruby-on-railsrake

Getting cannot load file in Rails 7.0.7.1


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.


Solution

  • 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