Commit 9931a11
committed
(FACT-3159) Fix install.rb for Ruby 3.0
When executing this script under Ruby 3.0, the following error is
generated:
/usr/lib/ruby/3.0.0/fileutils.rb:206:in `mkdir_p': wrong number of
arguments (given 2, expected 1) (ArgumentError)
This patch changes install() and makedirs() calls to use the keyword
argument form which is supported at least since Ruby 2.7.1 parent 9f5c1db commit 9931a11
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
0 commit comments