Skip to content

Commit

Permalink
Merge pull request #1419 from chef/fix_ruby_26
Browse files Browse the repository at this point in the history
Better version constraint for Ruby 2.6 patch
  • Loading branch information
tas50 authored Jul 21, 2021
2 parents 07291b0 + 21ffff6 commit 6871e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/software/ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
configure_command << "--with-bundled-md5" if fips_mode?

# resolve C99 code accidentally introduced in Ruby 2.6.7 and it's still in 2.6.8 :(
patch source: "ruby-2.6.7_c99.patch", plevel: 1, env: patch_env if version >= "2.6.7"
patch source: "ruby-2.6.7_c99.patch", plevel: 1, env: patch_env if version.satisfies?("~> 2.6.7")

if aix?
# need to patch ruby's configure file so it knows how to find shared libraries
Expand Down

0 comments on commit 6871e20

Please sign in to comment.