Skip to content

Commit

Permalink
Merge pull request #2545 from amitkarsale/PA-6676
Browse files Browse the repository at this point in the history
(PA-6676) Install [email protected] from internal source
  • Loading branch information
amitkarsale authored Jun 21, 2024
2 parents 4b93877 + c4cb361 commit 6b68575
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion configs/components/puppet-runtime.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,12 @@
pkg.build_requires 'pl-ruby'
elsif platform.is_macos?
ruby_version_y = settings[:ruby_version].gsub(/(\d+)\.(\d+)\.(\d+)/, '\1.\2')
pkg.build_requires "ruby@#{ruby_version_y}"
# Pin to an older version of [email protected]. This can be removed once we're no longer cross-compiling
if ruby_version_y == "2.7"
pkg.build_requires "puppetlabs/puppet/[email protected]"
else
pkg.build_requires "ruby@#{ruby_version_y}"
end
end
end

Expand Down

0 comments on commit 6b68575

Please sign in to comment.