.MD

Copy the markdown below:

ActionView::Template::Error

app/components/ui/code_block.html.erb:1

invalid byte sequence in UTF-8

Backtrace

app/components/ui/code_block.html.erb:1:in `call'
app/views/gems/files/show.html.erb:7:in `block in _app_views_gems_files_show_html_erb__3338244738632021250_53840'
app/components/gems/wrapper.html.erb:89:in `call'
app/views/gems/files/show.html.erb:1:in `_app_views_gems_files_show_html_erb__3338244738632021250_53840'
vendor/ruby-3.3.0/lib/ruby/3.3.0/benchmark.rb:313:in `realtime'

Request

Name Gems::FilesController#show
Method GET
URL https://gem.sh/gems/google-protobuf/v3.21.9/files/lib%2Fgoogle%2Fprotobuf%2Fdescriptor_pb.rb
Browser Unknown Browser

Parameters

{
  "id": "lib/google/protobuf/descriptor_pb.rb",
  "gem": "google-protobuf",
  "action": "show",
  "version": "3.21.9",
  "controller": "gems/files"
}

Headers

Via 2.0 heroku-router
Host gem.sh
Accept */*
Server Heroku
Version HTTP/1.1
User-Agent Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
X-Request-Id d2d0bd6c-2d79-3001-93bd-c3c4e4dc0ed7
Accept-Encoding gzip, br, zstd, deflate
X-Forwarded-For 216.73.216.213
X-Request-Start 1782645071500
X-Forwarded-Port 443
X-Forwarded-Proto https

Environment

os Linux 6.17.0-1017-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 40% CPU 28% RAM 36% Swap 1% Disk 100%