Confilicting chdir in static.rb


#1

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:

https://github.com/hanami/hanami/blob/master/lib/hanami/static.rb#L52

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?