.MD

Copy the markdown below:

Errno::ENOENT

app/models/gem_spec.rb:251

No such file or directory @ rb_sysopen - tmp/gems/rubocop/1.29.1/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/rubocop/v1.29.1/files/lib%2Frubocop%2Fcop%2Finternal_affairs%2Finherit_deprecated_cop_class.rb
Browser ChromeChrome 133

Parameters

{
  "id": "lib/rubocop/cop/internal_affairs/inherit_deprecated_cop_class.rb",
  "gem": "rubocop",
  "action": "show",
  "version": "1.29.1",
  "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
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/133.0.6943.53 Safari/537.36
X-Request-Id f926019f-4c4b-85a7-1ff9-71705f1bd561
Cache-Control no-cache
Sec-Fetch-Dest document
Sec-Fetch-Mode navigate
Sec-Fetch-Site none
Sec-Fetch-User ?1
Accept-Encoding gzip, deflate, br
X-Forwarded-For 98.196.44.197
X-Request-Start 1779745986105
X-Forwarded-Port 443
X-Forwarded-Proto https
Upgrade-Insecure-Requests 1

Environment

os Linux 6.8.0-1053-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 29% CPU 25% RAM 41% Swap 2% Disk 100%