-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(PDK-1365) Use dynamic ruby detection for default ruby instance
Previously the default version of ruby selected in packaged PDK instances was hardcoded to 2.4.5 which caused issues when updating ruby runtimes and did not reflect that the default should really by ruby 2.5 and Puppet 6. This commit modifies the default ruby detection to instead use the ruby environment for the latest Puppet Gem in the PDK package install. Non-pkged installs are not affected. This commit also memoizes the default value to slightly speed up default ruby selection.
- Loading branch information
1 parent
48bbbf1
commit 2067abe
Showing
2 changed files
with
14 additions
and
6 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