Commit 25a1255
committed
Add a .ruby-version file
In two recent pull requests, new contributors have had CI failing
because they used Ruby 3.3 (or older) to run the documentation Rake
tasks. (Ruby 3.4 formats hashes a bit differently, adding whitespace
around hashrockets.)
By adding a .ruby-version file, most contributors will automatically be
using the same Ruby version. Ideally we would not need to specify the
patch version in .ruby-version, but I believe that the
`major.minor.patch` format is what is compatible with the most Ruby
version managers out there.
I found this discussion about writing a specification for .ruby-version,
but it doesn't seem to be completed yet:
ruby/rubygems#70741 parent 3f31059 commit 25a1255
3 files changed
+1
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
54 | 53 | | |
55 | 54 | | |
56 | 55 | | |
57 | | - | |
58 | 56 | | |
59 | 57 | | |
60 | 58 | | |
| |||
74 | 72 | | |
75 | 73 | | |
76 | 74 | | |
77 | | - | |
78 | 75 | | |
79 | 76 | | |
80 | 77 | | |
| |||
96 | 93 | | |
97 | 94 | | |
98 | 95 | | |
99 | | - | |
100 | 96 | | |
101 | 97 | | |
102 | 98 | | |
| |||
119 | 115 | | |
120 | 116 | | |
121 | 117 | | |
122 | | - | |
123 | 118 | | |
124 | 119 | | |
125 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments