rails / spring-watcher-listen

MIT License
64 stars 35 forks source link

Really delete the directories. #22

Closed voxik closed 2 years ago

voxik commented 6 years ago

The FileUtils.rmdir deletes just empty directories and secretly fails to do so in Ruby 2.4. Ruby 2.5 fixes the behavior [1] and FileUtiles.rmdir fails with error such as:

Errno::ENOTEMPTY: Directory not empty @ dir_s_rmdir - /tmp/d20180114-8362-1iuw12n_other

[1] https://bugs.ruby-lang.org/issues/13889