{"record":{"id":"1aea6c4297e45e06","repo":"ruby/rubygems","slug":"31","errorCode":"31","errorMessage":"There was an error while trying to #{action} `#{@path}`. There was insufficient space remaining on the device.","messagePattern":"There was an error while trying to #(.+?) `#(.+?)`\\. There was insufficient space remaining on the device\\.","errorType":"exception","errorClass":"Bundler::NoSpaceOnDeviceError","httpStatus":null,"severity":"error","filePath":"lib/bundler/shared_helpers.rb","lineNumber":117,"sourceCode":"    # @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?\n\n      Bundler.ui.warn(\"[DEPRECATED] #{message}\")\n    end\n","sourceCodeStart":99,"sourceCodeEnd":135,"githubUrl":"https://github.com/ruby/rubygems/blob/86cbb817a38ce8477b181c17467a703ded3f2be8/lib/bundler/shared_helpers.rb#L99-L135","documentation":"Error \"There was an error while trying to #{action} `#{@path}`. There was insufficient space remaining on the device.\" thrown in ruby/rubygems.","triggerScenarios":"Thrown at lib/bundler/shared_helpers.rb:117 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"}