method

platform_support

ruby latest stable - Class: Bundler::FileUtils::Entry_

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

platform_support()
public

No documentation available.

# File lib/bundler/vendor/fileutils/lib/fileutils.rb, line 1345
    def platform_support
      return yield unless fu_windows?
      first_time_p = true
      begin
        yield
      rescue Errno::ENOENT
        raise
      rescue => err
        if first_time_p
          first_time_p = false
          begin
            File.chmod 0700, path()   # Windows does not have symlink
            retry
          rescue SystemCallError
          end
        end
        raise err
      end
    end