.MD

Copy the markdown below:

Errno::ENOENT

app/models/gem_spec.rb:251

No such file or directory @ rb_sysopen - tmp/gems/hexapdf/0.44.0/metadata

Backtrace

vendor/ruby-3.3.0/lib/ruby/3.3.0/psych.rb:670:in `initialize'
vendor/ruby-3.3.0/lib/ruby/3.3.0/psych.rb:670:in `open'
vendor/ruby-3.3.0/lib/ruby/3.3.0/psych.rb:670:in `load_file'
app/models/gem_spec.rb:251:in `metadata'
app/models/gem_spec.rb:172:in `files'
app/models/source_file.rb:17:in `exist?'
app/controllers/concerns/gem_file_scoped.rb:14:in `block in set_file'
app/controllers/concerns/gem_file_scoped.rb:13:in `set_file'

Request

Name Gems::FilesController#show
Method GET
URL https://gem.sh/gems/hexapdf/v0.44.0/files/lib%2Fhexapdf%2Flayout%2Ftext_shaper.rb
Browser ChromeChrome 123

Parameters

{
  "id": "lib/hexapdf/layout/text_shaper.rb",
  "gem": "hexapdf",
  "action": "show",
  "version": "0.44.0",
  "controller": "gems/files"
}

Headers

Via 2.0 heroku-router
Host gem.sh
Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Server Heroku
Referer https://gem.sh/gems/hexapdf/v0.44.0/files/lib%2Fhexapdf%2Flayout%2Ftext_shaper.rb
Version HTTP/1.1
Sec-Ch-Ua "Google Chrome";v="123", "Not:A-Brand";v="8", "Chromium";v="123"
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
X-Request-Id a012e011-804f-4846-ddc8-5960465f6f6f
Sec-Fetch-Dest document
Sec-Fetch-Mode navigate
Sec-Fetch-Site none
Sec-Fetch-User ?1
Accept-Encoding gzip, deflate, br, zstd
Accept-Language zh-CN,zh;q=0.9,en;q=0.8,*;q=0.1
X-Forwarded-For 119.13.91.3
X-Request-Start 1781126620697
Sec-Ch-Ua-Mobile ?0
X-Forwarded-Port 443
X-Forwarded-Proto https
Sec-Ch-Ua-Platform "macOS"
Upgrade-Insecure-Requests 1

Environment

os Linux 6.8.0-1055-aws
cwd /app
pid 15
host web.1
ruby ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [x86_64-linux]
rails 7.1.3.4

Server

Load CPU RAM Swap Disk
web.1 Load avg 52% CPU 41% RAM 48% Swap 1% Disk 100%