.MD

Copy the markdown below:

Errno::ENOENT

app/models/gem_spec.rb:251

No such file or directory @ rb_sysopen - tmp/gems/rubocop/1.40.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/rubocop/v1.40.0/files/lib%2Frubocop%2Fcop%2Fstyle%2Fbare_percent_literals.rb
Browser ChromeChrome 125

Parameters

{
  "id": "lib/rubocop/cop/style/bare_percent_literals.rb",
  "gem": "rubocop",
  "action": "show",
  "version": "1.40.0",
  "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 (Macintosh; Intel Mac OS X 15_3_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.6422.176 Safari/537.36
X-Request-Id f3556bb1-552c-8c0f-b413-3391e01a1c62
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 73.106.100.46
X-Request-Start 1778729807341
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 53% CPU 39% RAM 42% Swap 2% Disk 100%