DEV: add .ruby-version to .gitignore (#19661)

We provide a `.ruby-version.sample` file that we use for warning developers
about the minimum recommended Ruby version to run Discourse.

d24dfe8f96/config/application.rb (L15-L20)

But if people copy the sample to a `.ruby-version` file it would be added
next time they commit.

This adds the `.ruby-version` file to `.gitignore` so it doesn't get commited
by mistake and developers can test Discourse on other versions of Ruby if
they want to.
This commit is contained in:
Régis Hanol 2022-12-30 12:11:55 +01:00 committed by GitHub
parent 0da79561c3
commit df1a0eaece
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
.gitignore vendored
View File

@ -50,6 +50,9 @@
/vendor/data/GeoLite2-City.mmdb /vendor/data/GeoLite2-City.mmdb
/vendor/data/GeoLite2-ASN.mmdb /vendor/data/GeoLite2-ASN.mmdb
# We provide a .sample but people can use newer versions if they want to
.ruby-version
# Front-end # Front-end
dist dist
node_modules node_modules