.MD

Copy the markdown below:

Errno::ENOENT

app/models/gem_spec.rb:251

No such file or directory @ rb_sysopen - tmp/gems/activesupport/7.2.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/activesupport/v7.2.0/files/lib%2Factive_support%2Flocale%2Fen.rb
Browser Microsoft EdgeMicrosoft Edge 122

Parameters

{
  "id": "lib/active_support/locale/en.rb",
  "gem": "activesupport",
  "action": "show",
  "version": "7.2.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
Sec-Ch-Ua "Chromium";v="122", "Not(A:Brand";v="24", "Microsoft Edge";v="122"
User-Agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.2365.99
X-Request-Id f37d95ca-c333-05ac-ccb1-63d4d9f51172
Sec-Fetch-Dest empty
Sec-Fetch-Mode cors
Sec-Fetch-Site cross-site
Accept-Encoding gzip, deflate, br
Accept-Language en-SH,en;q=0.8
X-Forwarded-For 149.115.143.133
X-Request-Start 1781923675329
Sec-Ch-Ua-Mobile ?0
X-Forwarded-Port 443
X-Forwarded-Proto https
Sec-Ch-Ua-Platform "Linux"

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 37% CPU 22% RAM 44% Swap 2% Disk 100%