.MD

Copy the markdown below:

ActionView::Template::Error

app/models/gem_spec.rb:251

No such file or directory @ rb_sysopen - tmp/gems/test-prof/0.7.5/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/gem_info.rb:22:in `analyze'
app/models/gem_info.rb:14:in `initialize'
app/models/gem_spec.rb:295:in `new'
app/models/gem_spec.rb:295:in `info'
app/models/gem_spec.rb:78:in `modules'
app/models/gem_spec.rb:123:in `top_level_modules'
app/views/gems/show.html.erb:3:in `_app_views_gems_show_html_erb___493363700445157671_514700'
vendor/ruby-3.3.0/lib/ruby/3.3.0/benchmark.rb:313:in `realtime'

Request

Name GemsController#show
Method GET
URL https://gem.sh/gems/test-prof/v0.7.5
Browser ChromeChrome 133

Parameters

{
  "gem": "test-prof",
  "action": "show",
  "version": "0.7.5",
  "controller": "gems"
}

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
Server Heroku
Referer https://gem.sh/gems/test-prof/v1.3.0/versions
Version HTTP/1.1
Sec-Ch-Ua "Not_A Brand";v="8", "Chromium";v="133", "Google Chrome";v="133"
User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
X-Request-Id d416d9b1-813a-a264-b6aa-cf9e28a49706
Cache-Control max-age=0
Sec-Fetch-Dest document
Sec-Fetch-Mode navigate
Sec-Fetch-Site same-origin
Sec-Fetch-User ?1
Accept-Encoding gzip
Accept-Language zh-CN,zh;q=0.9,en;q=0.8
X-Forwarded-For 185.206.175.119
X-Request-Start 1777908685935
Sec-Ch-Ua-Mobile ?0
X-Forwarded-Port 443
X-Forwarded-Proto https
Sec-Ch-Ua-Platform "Windows"
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 46% CPU 31% RAM 47% Swap 3% Disk 100%