Closed
Description
Describe the Bug
puppet-strings.gemspec reports that the minimum version of Ruby supported is 2.3.0, but there is unsupported code (match?
) since at least 08936f9.
There are also a bunch of unsupported dependency problems, but that can be solved with the brute force addition of a lot of version constraints.
Switching to ruby 2.6.0p0 makes the code work fine without problems.
Expected Behavior
You should be able to install dependencies and run unit tests with the minimum ruby version.
Steps to Reproduce
Steps to reproduce the behavior:
rbenv install 2.3.0 && rbenv local 2.3.0
gem install bundler:1.13.7
(later versions may work)bundle install --path .bundle/gems
(this will fail)- Add a bunch of version constraints to Gemfile.
bundle install --path .bundle/gems
bundle exec rake spec
. . .
RuntimeError:
Processing (stdin):13 with . . . => undefined method `match?' for /ruby4x/:Regexp
. . .
Environment
- ruby 2.3.0p0
- macOS 12.6.0
- Current main branch (dba16ed)