The following Docker container (which in essence should be similar to a fresh Debian install with Ruby 3.x installed):
FROM ruby:3.2
RUN gem install docker-template
$ docker-template --help
/usr/local/bundle/gems/forwardable-extended-2.6.0/lib/forwardable/extended.rb:29:in `rb_delegate': wrong number of arguments (given 2, expected 1) (ArgumentError)
from /usr/local/bundle/gems/extras-0.3.0/lib/extras/string.rb:12:in `<module:String>'
from /usr/local/bundle/gems/extras-0.3.0/lib/extras/string.rb:10:in `<module:Extras>'
from /usr/local/bundle/gems/extras-0.3.0/lib/extras/string.rb:9:in `<top (required)>'
from <internal:/usr/local/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:/usr/local/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /usr/local/bundle/gems/extras-0.3.0/lib/extras/all.rb:8:in `block in <top (required)>'
from /usr/local/bundle/gems/extras-0.3.0/lib/extras/all.rb:7:in `each'
from /usr/local/bundle/gems/extras-0.3.0/lib/extras/all.rb:7:in `<top (required)>'
from <internal:/usr/local/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:/usr/local/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /usr/local/bundle/gems/docker-template-0.22.0/lib/docker/template.rb:6:in `<top (required)>'
from <internal:/usr/local/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:/usr/local/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /usr/local/bundle/gems/docker-template-0.22.0/lib/docker/template/cli.rb:5:in `<top (required)>'
from <internal:/usr/local/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:/usr/local/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /usr/local/bundle/gems/docker-template-0.22.0/bin/docker-template:25:in `<top (required)>'
from /usr/local/bundle/bin/docker-template:25:in `load'
from /usr/local/bundle/bin/docker-template:25:in `<main>'
$ docker-template --help
Commands:
docker-template build [REPOS [OPTS]] # Build all (or some) of your reposit...
docker-template cache [REPOS [OPTS]] # Cache all (or some) of your reposit...
docker-template clean [REPOS [OPTS]] # Clean all (or some) of your reposit...
docker-template help [COMMAND] # Describe available commands or one ...
docker-template list [OPTS] # List all possible builds.
docker-template push [REPOS [OPTS]] # Push all (or some) of your reposito...