boltops-tools / boltops-tools/puma-cloudwatch
Crash on loading
- Dominant language
- Ruby
- Stars
- 24
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to use this plugin.
I've added the two lines to the config/puma/production.rb as we only want to record data in the one environment
activate_control_app
plugin :cloudwatch
But this causes the puma workers to not start with an error like:
[5484] ! Unable to start worker
[5484] undefined method ignored?' for an instance of Gem::Specification
[5484] /home/ubuntu/.rbenv/versions/3.3.5/lib/ruby/3.3.0/rubygems/specification.rb:2121:in method_missing'
I have gem "puma-cloudwatch" in the Gemfile and version 0.5.2 is being installed according to the Gemfile.lock
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the failure with the two entries in config/puma/production.rb and the puma-cloudwatch 0.5.2 dependency recorded in Gemfile.lock. Start with the worker-startup error and the RubyGems specification.rb:2121 trace, then determine why plugin loading calls ignored? on Gem::Specification. Done means Puma workers start successfully with the plugin enabled in production.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- observability
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100