# File lib/bundler/shared_helpers.rb, line 113 def filesystem_access(path, action = :write) yield path rescue Errno::EACCES raise PermissionError.new(path, action) end