I'm fine that Opsworks EOL is mid 2024; just don't kill it off early with mistakes.
Fetching gem metadata from https://rubygems.org/
Fetching version metadata from https://rubygems.org/
Fetching dependency metadata from https://rubygems.org/
Resolving dependencies......
Installing aws-eventstream 1.3.0
Gem::InstallError: aws-eventstream requires Ruby version >= 2.5.
Installing jmespath 1.6.2
Using bundler 1.12.5
An error occurred while installing aws-eventstream (1.3.0), and Bundler cannot
continue.
Make sure that `gem install aws-eventstream -v '1.3.0'` succeeds before
bundling.