Confilicting chdir in static.rb


After upgrading to ruby 2.5.0 bundle exec rake started to show this warning:

warning: conflicting chdir during another chdir block

and point to this line:

The test suite ends with errors to load any template file:

Errno::ENOENT: No such file or directory @ rb_sysopen - apps/research/templates/analysis/dictionary.html.erb

Obviously these paths exist respectively to the project root. How to fix it?


I saw this as well. I submitted a PR with a fix that worked for me.