Skip to content

Commit cc1e81d

Browse files
author
Eric Sorenson
authored
(PA-2126) Fix typo in ruby version string
Prior to this commit, running any `puppet foo` subcommand on s390x would fail with `/opt/puppetlabs/puppet/lib/ruby/2.4.0/s390x-linux/rbconfig.rb:7:in <module:RbConfig>: ruby lib version (2.4.4) doesn't match executable version (2.4.4) (RuntimeError)` This fixes the one-character typo and makes the version string match.
1 parent ba39060 commit cc1e81d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/files/ruby_244/rbconfig/rbconfig-244-s390x-linux-gnu.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# changes made to this file will be lost the next time ruby is built.
44

55
module RbConfig
6-
RUBY_VERSION == "2.4." or
6+
RUBY_VERSION == "2.4.4" or
77
raise "ruby lib version (2.4.4) doesn't match executable version (#{RUBY_VERSION})"
88

99
TOPDIR = File.dirname(__FILE__).chomp!("/lib/ruby/2.4.0/s390x-linux")

0 commit comments

Comments
 (0)