You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Produces the following output when running docker-template --help inside of it:
$ 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>'
Same container running with Ruby 2.x (particularly 2.7) runs as expected:
$ 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...
Maybe set required Ruby version >= 2.1.0, < 3?
The text was updated successfully, but these errors were encountered:
Description
The following Docker container (which in essence should be similar to a fresh Debian install with Ruby 3.x installed):
Produces the following output when running
docker-template --help
inside of it:Same container running with Ruby 2.x (particularly 2.7) runs as expected:
Maybe set required Ruby version >= 2.1.0, < 3?
The text was updated successfully, but these errors were encountered: