.MD

Copy the markdown below:

Errno::ENOENT

app/models/gem_spec.rb:251

No such file or directory @ rb_sysopen - tmp/gems/ffaker/2.11.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/ffaker/v2.11.0/files/lib%2Fffaker%2Fcourses.rb
Browser ChromeChrome 93

Parameters

{
  "id": "lib/ffaker/courses.rb",
  "gem": "ffaker",
  "action": "show",
  "version": "2.11.0",
  "controller": "gems/files"
}

Headers

Via 2.0 heroku-router
Host gem.sh
Accept */*
Server Heroku
Referer http://www.baidu.sh/
Version HTTP/1.1
Priority u=0, i
Sec-Ch-Ua "Google Chrome";v="131", "Chromium";v="131", "Not_A Brand";v="24"
User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.0 Safari/537.36
X-Request-Id 24d4ed31-64da-5203-bfe8-f125f38e32d1
Sec-Fetch-Dest empty
Sec-Fetch-Mode cors
Sec-Fetch-Site cross-site
Sec-Fetch-User ?1
Accept-Encoding gzip, deflate, br
Accept-Language en-SH,en;q=0.8
X-Forwarded-For 109.158.96.224
X-Request-Start 1776330807653
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-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 19% CPU 15% RAM 44% Swap <1% Disk 100%