mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 02:53:45 +08:00
df1a0eaece
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.
69 lines
1.1 KiB
Plaintext
69 lines
1.1 KiB
Plaintext
/copyright
|
|
/coverage
|
|
/data
|
|
/log
|
|
/tmp
|
|
|
|
/.bundle
|
|
/.env
|
|
/.procfile
|
|
/dump.rdb
|
|
|
|
/config/discourse.conf
|
|
/config/discourse.pill
|
|
/config/multisite.yml
|
|
# `discourse_dev` gem
|
|
/config/dev.yml
|
|
|
|
/public/assets
|
|
/public/backups
|
|
/public/csv
|
|
/public/fonts
|
|
/public/plugins
|
|
/public/tombstone
|
|
/public/uploads
|
|
|
|
# Ignore the default SQLite database and db dumps
|
|
*.sql
|
|
*.sql.gz
|
|
!/spec/fixtures/**/*.sql
|
|
/db/*.sqlite3
|
|
/db/structure.sql
|
|
/db/schema.rb
|
|
/db/schema_cache.yml
|
|
|
|
# Plugins except for the bundled ones
|
|
/plugins/*
|
|
!/plugins/discourse-details/
|
|
!/plugins/discourse-local-dates
|
|
!/plugins/discourse-narrative-bot
|
|
!/plugins/discourse-presence
|
|
!/plugins/lazy-yt/
|
|
!/plugins/chat/
|
|
!/plugins/poll/
|
|
!/plugins/styleguide
|
|
/plugins/*/auto_generated/
|
|
|
|
/spec/fixtures/plugins/my_plugin/auto_generated
|
|
|
|
/vendor/bundle/*
|
|
/vendor/data/GeoLite2-City.mmdb
|
|
/vendor/data/GeoLite2-ASN.mmdb
|
|
|
|
# We provide a .sample but people can use newer versions if they want to
|
|
.ruby-version
|
|
|
|
# Front-end
|
|
dist
|
|
node_modules
|
|
yarn-error.log
|
|
|
|
# Auto-generated plugin JS assets
|
|
/app/assets/javascripts/plugins/*
|
|
|
|
# Generated API documentation files
|
|
openapi/*
|
|
|
|
# Cached License Data Files
|
|
/.licenses
|