Method: Bundler::FileUtils::Entry_#platform_support
- Defined in:
- lib/bundler/vendor/fileutils/lib/fileutils.rb
#platform_support ⇒ Object
2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 |
# File 'lib/bundler/vendor/fileutils/lib/fileutils.rb', line 2336 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 |