Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix parsing ruby version for Dockerfile packages
Previously, the version regular expressions never matched Gem.ruby_version because Gem::Version is not a string. In addition, ruby_version was undefined and this was not caught before because the case statement never evaluated those branches. This commit fixes both of those issues, so that ruby versions like 2.7.0 will correctly install "python" instead of "python-is-python3"
- Loading branch information
1 parent
ee6a7ba
commit 95b3b31
Showing
2 changed files
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters