# Gems::GemError


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
  <head>
    <title>502 Bad Gateway</title>
  </head>
  <body>
    <h1>Error 502 Bad Gateway</h1>
    <p>Bad Gateway</p>
    <h3>Error 54113</h3>
    <p>Details: cache-iad-kjyo7100038-IAD 1778379584 3315124609</p>
    <hr>
    <p>Varnish cache server</p>
  </body>
</html>


- **Location:** app/models/gem_spec.rb:17
- **Occurred at:** 2026-05-10 02:19:44 UTC

## Backtrace

### Compact Trace

```
app/models/gem_spec.rb:17:in `find'
app/controllers/concerns/gem_scoped.rb:22:in `set_gem'
```

### Full Trace

```
/app/vendor/bundle/ruby/3.3.0/bundler/gems/gems-6cf1ad213950/lib/gems/request.rb:77:in `body_from_response'
/app/vendor/bundle/ruby/3.3.0/bundler/gems/gems-6cf1ad213950/lib/gems/request.rb:57:in `request'
/app/vendor/bundle/ruby/3.3.0/bundler/gems/gems-6cf1ad213950/lib/gems/request.rb:13:in `get'
/app/vendor/bundle/ruby/3.3.0/bundler/gems/gems-6cf1ad213950/lib/gems/v2/client.rb:28:in `info'
/app/vendor/bundle/ruby/3.3.0/bundler/gems/gems-6cf1ad213950/lib/gems/abstract_client.rb:15:in `method_missing'
/app/app/models/gem_spec.rb:17:in `find'
/app/app/controllers/concerns/gem_scoped.rb:22:in `set_gem'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.3.4/lib/active_support/callbacks.rb:403:in `block in make_lambda'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.3.4/lib/active_support/callbacks.rb:202:in `block (2 levels) in halting'
/app/vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/abstract_controller/callbacks.rb:34:in `block (2 levels) in <module:Callbacks>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.3.4/lib/active_support/callbacks.rb:203:in `block in halting'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.3.4/lib/active_support/callbacks.rb:598:in `block in invoke_before'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.3.4/lib/active_support/callbacks.rb:598:in `each'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.3.4/lib/active_support/callbacks.rb:598:in `invoke_before'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.3.4/lib/active_support/callbacks.rb:119:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/turbo-rails-2.0.6/lib/turbo-rails.rb:24:in `with_request_id'
/app/vendor/bundle/ruby/3.3.0/gems/turbo-rails-2.0.6/app/controllers/concerns/turbo/request_id_tracking.rb:10:in `turbo_tracking_request_id'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.3.4/lib/active_support/callbacks.rb:130:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/actiontext-7.1.3.4/lib/action_text/rendering.rb:23:in `with_renderer'
/app/vendor/bundle/ruby/3.3.0/gems/actiontext-7.1.3.4/lib/action_text/engine.rb:69:in `block (4 levels) in <class:Engine>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.3.4/lib/active_support/callbacks.rb:130:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.3.4/lib/active_support/callbacks.rb:130:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/rorvswild-1.8.0/lib/rorvswild/plugin/action_controller.rb:29:in `around_action'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.3.4/lib/active_support/callbacks.rb:130:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.3.4/lib/active_support/callbacks.rb:130:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.3.4/lib/active_support/callbacks.rb:141:in `run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/abstract_controller/callbacks.rb:258:in `process_action'
/app/vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/action_controller/metal/rescue.rb:25:in `process_action'
/app/vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/action_controller/metal/instrumentation.rb:74:in `block in process_action'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.3.4/lib/active_support/notifications.rb:206:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.3.4/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.3.4/lib/active_support/notifications.rb:206:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/action_controller/metal/instrumentation.rb:73:in `process_action'
/app/vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/action_controller/metal/params_wrapper.rb:261:in `process_action'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.3.4/lib/active_record/railties/controller_runtime.rb:32:in `process_action'
/app/vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/abstract_controller/base.rb:160:in `process'
/app/vendor/bundle/ruby/3.3.0/gems/actionview-7.1.3.4/lib/action_view/rendering.rb:40:in `process'
/app/vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/action_controller/metal.rb:227:in `dispatch'
/app/vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/action_controller/metal.rb:309:in `dispatch'
/app/vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
/app/vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/action_dispatch/routing/route_set.rb:32:in `serve'
/app/vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/action_dispatch/journey/router.rb:51:in `block in serve'
/app/vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/action_dispatch/journey/router.rb:131:in `block in find_routes'
/app/vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/action_dispatch/journey/router.rb:124:in `each'
/app/vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/action_dispatch/journey/router.rb:124:in `find_routes'
/app/vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/action_dispatch/journey/router.rb:32:in `serve'
/app/vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/action_dispatch/routing/route_set.rb:882:in `call'
/app/vendor/bundle/ruby/3.3.0/gems/type_fusion-0.0.6/lib/type_fusion/rack/middleware.rb:17:in `call'
/app/vendor/bundle/ruby/3.3.0/gems/rack-3.1.7/lib/rack/tempfile_reaper.rb:20:in `call'
/app/vendor/bundle/ruby/3.3.0/gems/rack-3.1.7/lib/rack/etag.rb:29:in `call'
/app/vendor/bundle/ruby/3.3.0/gems/rack-3.1.7/lib/rack/conditional_get.rb:31:in `call'
/app/vendor/bundle/ruby/3.3.0/gems/rack-3.1.7/lib/rack/head.rb:15:in `call'
/app/vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/action_dispatch/http/permissions_policy.rb:36:in `call'
/app/vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/action_dispatch/http/content_security_policy.rb:33:in `call'
/app/vendor/bundle/ruby/3.3.0/gems/rack-session-2.0.0/lib/rack/session/abstract/id.rb:272:in `context'
/app/vendor/bundle/ruby/3.3.0/gems/rack-session-2.0.0/lib/rack/session/abstract/id.rb:266:in `call'
/app/vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/action_dispatch/middleware/cookies.rb:689:in `call'
/app/vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.3.4/lib/active_support/callbacks.rb:101:in `run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/action_dispatch/middleware/callbacks.rb:28:in `call'
/app/vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
/app/vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
/app/vendor/bundle/ruby/3.3.0/gems/railties-7.1.3.4/lib/rails/rack/logger.rb:37:in `call_app'
/app/vendor/bundle/ruby/3.3.0/gems/railties-7.1.3.4/lib/rails/rack/logger.rb:24:in `block in call'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.3.4/lib/active_support/tagged_logging.rb:135:in `block in tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.3.4/lib/active_support/tagged_logging.rb:39:in `tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.3.4/lib/active_support/tagged_logging.rb:135:in `tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.3.4/lib/active_support/broadcast_logger.rb:240:in `method_missing'
/app/vendor/bundle/ruby/3.3.0/gems/railties-7.1.3.4/lib/rails/rack/logger.rb:24:in `call'
/app/vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/action_dispatch/middleware/remote_ip.rb:92:in `call'
/app/vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/action_dispatch/middleware/request_id.rb:28:in `call'
/app/vendor/bundle/ruby/3.3.0/gems/rack-3.1.7/lib/rack/method_override.rb:28:in `call'
/app/vendor/bundle/ruby/3.3.0/gems/rack-3.1.7/lib/rack/runtime.rb:24:in `call'
/app/vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/action_dispatch/middleware/executor.rb:14:in `call'
/app/vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/action_dispatch/middleware/static.rb:25:in `call'
/app/vendor/bundle/ruby/3.3.0/gems/rack-3.1.7/lib/rack/sendfile.rb:114:in `call'
/app/vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/action_dispatch/middleware/ssl.rb:79:in `call'
/app/vendor/bundle/ruby/3.3.0/gems/rorvswild-1.8.0/lib/rorvswild/plugin/middleware.rb:22:in `call'
/app/vendor/bundle/ruby/3.3.0/gems/railties-7.1.3.4/lib/rails/engine.rb:536:in `call'
/app/vendor/bundle/ruby/3.3.0/gems/puma-6.4.2/lib/puma/configuration.rb:272:in `call'
/app/vendor/bundle/ruby/3.3.0/gems/puma-6.4.2/lib/puma/request.rb:100:in `block in handle_request'
/app/vendor/bundle/ruby/3.3.0/gems/puma-6.4.2/lib/puma/thread_pool.rb:378:in `with_force_shutdown'
/app/vendor/bundle/ruby/3.3.0/gems/puma-6.4.2/lib/puma/request.rb:99:in `handle_request'
/app/vendor/bundle/ruby/3.3.0/gems/puma-6.4.2/lib/puma/server.rb:464:in `process_client'
/app/vendor/bundle/ruby/3.3.0/gems/puma-6.4.2/lib/puma/server.rb:245:in `block in run'
/app/vendor/bundle/ruby/3.3.0/gems/puma-6.4.2/lib/puma/thread_pool.rb:155:in `block in spawn_thread'
```

## Request

- **Name:** Gems::InstanceMethodsController#show
- **Method:** GET
- **URL:** https://gem.sh/gems/activesupport/v3.0.16/classes/ActiveSupport::Notifications::Event/instance_methods/initialize
- **Browser:** Chrome 119

## Parameters

```json
{
  "id": "initialize",
  "gem": "activesupport",
  "action": "show",
  "version": "3.0.16",
  "class_id": "ActiveSupport::Notifications::Event",
  "controller": "gems/instance_methods"
}
```

## Headers

| Header | Value |
|--------|-------|
| Via | 1.1 heroku-router |
| Host | gem.sh |
| Server | Heroku |
| Version | HTTP/1.1 |
| User-Agent | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Amazonbot/0.1; +https://developer.amazon.com/support/amazonbot) Chrome/119.0.6045.214 Safari/537.36 |
| X-Request-Id | c91b3ee3-0b86-cd3e-95e0-73bfb229ca63 |
| Accept-Encoding | gzip,deflate |
| X-Forwarded-For | 54.83.56.1 |
| X-Request-Start | 1778379581997 |
| X-Forwarded-Port | 443 |
| X-Forwarded-Proto | https |

## Environment

| Variable | Value |
|----------|-------|
| 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 |


[View on RoRvsWild ↗](https://www.rorvswild.com/applications/136042/errors/88082601)