Closed herrsergio closed 1 year ago
I've found that in the file: /opt/codedeploy-agent/codedeploy_agent.gemspec
it is still using Ruby 2:
12 spec.required_ruby_version = '~> 2.0'
Also in a lot of places it still uses File.exists?
which is already deprecated.
https://bugs.ruby-lang.org/issues/17391
https://github.com/ruby/ruby/commit/bf97415c02b11a8949f715431aca9eeb6311add2
FYI: @mwjones-aws @t0shiii @jcbhl
Thanks for reaching out. We don't officially support Amazon Linux 2023 yet. We'll post updates on this issue.
@mwjones-aws Do you know if the agent will be supported when AL2023 is GA?
@herrsergio The ruby version is 3.2, but aws-codedeploy-agent 1.5.0 only supports ruby 3.0.
CodeDeploy Agent 1.6.0 adds AL2023 and Ruby 3.2 support. It has been released to most commercial regions as of this comment.
Please track release progress on https://github.com/aws/aws-codedeploy-agent/issues/360
Ruby was installed using:
dnf install ruby