This method is only available on newer versions. The first available version (v2_6_3) is shown here.
remove_dir(path, config = {})
Alias for Bundler::Thor::Actions#remove_file