.MD

Copy the markdown below:

Errno::ENOENT

app/models/gem_spec.rb:251

No such file or directory @ rb_sysopen - tmp/gems/js_regex/1.0.17/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/js_regex/v1.0.17/files/lib%2Fjs_regex.rb
Browser ChromeChrome 108

Parameters

{
  "id": "lib/js_regex.rb",
  "gem": "js_regex",
  "action": "show",
  "version": "1.0.17",
  "controller": "gems/files"
}

Headers

Via 1.1 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
Pragma no-cache
Server Heroku
Version HTTP/1.1
User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
X-Request-Id 8afc1265-221d-e870-31fb-2edf2ea5e542
Cache-Control no-cache
Accept-Encoding gzip
Accept-Language zh-CN,zh;q=0.9,en;q=0.8
X-Forwarded-For 14.188.177.137
X-Request-Start 1777926880121
X-Forwarded-Port 443
X-Forwarded-Proto https

Environment

os Linux 6.8.0-1051-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 33% CPU 24% RAM 46% Swap 2% Disk 100%