.MD

Copy the markdown below:

ActionView::Template::Error

app/models/gem_spec.rb:251

(tmp/gems/extra/1.0/metadata): found character that cannot start any token while scanning for the next token at line 14 column 14

Backtrace

vendor/ruby-3.3.0/lib/ruby/3.3.0/psych/parser.rb:62:in `_native_parse'
vendor/ruby-3.3.0/lib/ruby/3.3.0/psych/parser.rb:62:in `parse'
vendor/ruby-3.3.0/lib/ruby/3.3.0/psych.rb:455:in `parse_stream'
vendor/ruby-3.3.0/lib/ruby/3.3.0/psych.rb:399:in `parse'
vendor/ruby-3.3.0/lib/ruby/3.3.0/psych.rb:323:in `safe_load'
vendor/ruby-3.3.0/lib/ruby/3.3.0/psych.rb:369:in `load'
vendor/ruby-3.3.0/lib/ruby/3.3.0/psych.rb:671:in `block in load_file'
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__1986939411992295367_182660'
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/extra
Browser ChromeChrome 140

Parameters

{
  "gem": "extra",
  "action": "show",
  "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,application/signed-exchange;v=b3;q=0.7
Pragma no-cache
Server Heroku
Version HTTP/1.1
Sec-Ch-Ua "Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36
X-Request-Id fdfe061f-c2b9-5c40-943b-95e6a31c18c4
Cache-Control no-cache
Sec-Fetch-Dest document
Sec-Fetch-Mode navigate
Sec-Fetch-Site none
Sec-Fetch-User ?1
Accept-Encoding gzip
Accept-Language zh-CN,zh;q=0.9
X-Forwarded-For 47.79.10.191
X-Request-Start 1778023518552
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-1052-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 94% CPU 58% RAM 59% Swap 4% Disk 100%