The issue stems from a dependency on the rfc822 gem, which is not compatible with the latest Ruby version.
The gem is using an outdated method for initializing regular expressions, which causes the following error:
/Users/stephenvnelson/.gem/ruby/3.3.3/gems/rfc822-0.1.5/lib/rfc822.rb:16:in `initialize': wrong number of arguments (given 3, expected 1..2) (ArgumentError)
EMAIL_REGEXP_WHOLE = Regexp.new("\\A#{ADDR_SPEC}\\z", nil, 'n')
This issue occurs because the current initialization of the regular expressions in rfc822 is not compatible with the API changes in Ruby 3.3.3.
To handle this I temporarily switched to using a forked version of the rfc822 gem at andresprogra/rfc822 (FYI @andresprogra)
gem 'rfc822', github: 'andresprogra/rfc822'
I also submitted an issue with the rfc822 but it doesn't look like it gets very many updates, so it may be beneficial to update the dependency to accommodate this workaround or to suggest the use of the forked gem in the documentation.
The issue stems from a dependency on the
rfc822gem, which is not compatible with the latest Ruby version.The gem is using an outdated method for initializing regular expressions, which causes the following error:
This issue occurs because the current initialization of the regular expressions in
rfc822is not compatible with the API changes in Ruby 3.3.3.To handle this I temporarily switched to using a forked version of the
rfc822gem at andresprogra/rfc822 (FYI @andresprogra)I also submitted an issue with the
rfc822but it doesn't look like it gets very many updates, so it may be beneficial to update the dependency to accommodate this workaround or to suggest the use of the forked gem in the documentation.