{"record":{"id":"411a4f5a4957f44e","repo":"ruby/rubygems","slug":"26","errorCode":"26","errorMessage":"There was an error while trying to #{action} `#{@path}`. Some resource was temporarily unavailable. It's suggested that you trythe operation again.","messagePattern":"There was an error while trying to #(.+?) `#(.+?)`\\. Some resource was temporarily unavailable\\. It's suggested that you trythe operation again\\.","errorType":"exception","errorClass":"Bundler::TemporaryResourceError","httpStatus":null,"severity":"error","filePath":"lib/bundler/shared_helpers.rb","lineNumber":113,"sourceCode":"    #   given block\n    # @raise [Bundler::TemporaryResourceError] if Errno:EAGAIN is raised in the\n    #   given block\n    #\n    # @example\n    #   filesystem_access(\"vendor/cache\", :create) do\n    #     FileUtils.mkdir_p(\"vendor/cache\")\n    #   end\n    #\n    # @see {Bundler::PermissionError}\n    def filesystem_access(path, action = :write, &block)\n      yield(path.dup)\n    rescue Errno::EACCES => e\n      path_basename = File.basename(path.to_s)\n      raise unless e.message.include?(path_basename) || action == :create\n\n      raise PermissionError.new(path, action)\n    rescue Errno::EAGAIN\n      raise TemporaryResourceError.new(path, action)\n    rescue Errno::EPROTO\n      raise VirtualProtocolError.new\n    rescue Errno::ENOSPC\n      raise NoSpaceOnDeviceError.new(path, action)\n    rescue Errno::ENOTSUP\n      raise OperationNotSupportedError.new(path, action)\n    rescue Errno::EPERM\n      raise OperationNotPermittedError.new(path, action)\n    rescue Errno::EROFS\n      raise ReadOnlyFileSystemError.new(path, action)\n    rescue Errno::EEXIST, Errno::ENOENT\n      raise\n    rescue SystemCallError => e\n      raise GenericSystemCallError.new(e, \"There was an error #{[:create, :write].include?(action) ? \"creating\" : \"accessing\"} `#{path}`.\")\n    end\n\n    def feature_deprecated!(message)\n      return unless prints_major_deprecations?","sourceCodeStart":95,"sourceCodeEnd":131,"githubUrl":"https://github.com/ruby/rubygems/blob/86cbb817a38ce8477b181c17467a703ded3f2be8/lib/bundler/shared_helpers.rb#L95-L131","documentation":"Error \"There was an error while trying to #{action} `#{@path}`. Some resource was temporarily unavailable. It's suggested that you trythe operation again.\" thrown in ruby/rubygems.","triggerScenarios":"Thrown at lib/bundler/shared_helpers.rb:113 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"86cbb817a38ce8477b181c17467a703ded3f2be8","analyzedAt":"2026-08-23T06:27:48.159Z","schemaVersion":2},"datasetVersion":"2026-08-23T08:06:27.607Z"}