1
0
mirror of https://github.com/github/gitignore synced 2024-11-09 21:38:51 +01:00
Commit Graph

49 Commits

Author SHA1 Message Date
Daniel Libanori
e77ef81b1b
Ignore Rails .env according recomendations
Reasons for making this change:
Rails dotenv ignore is not following dotenv recommendations as stated in its documentation

Links to documentation supporting these rule changes:
https://github.com/bkeepers/dotenv#what-other-env-files-can-i-use
2021-10-28 04:52:49 -03:00
MetaJuanito Fatas
823e38ff68
Add /public/uploads for file upload gem Shrine (#3333)
When using a file upload gem called Shrine, its file system mode put images under `public/uploads`.

053bcf297e/doc/storage/file_system.md
2020-03-11 09:54:02 -03:00
hshimoyama
1604c21c60 Add .env.* to optionally ignored files in Rails.gitignore. (#3065) 2019-12-06 06:05:44 -04:00
Marlon Henry Schweigert
3dc70c8fc4 Upgrate to rails 6.0.0 (#3167)
* Upgrate to rails 6.0.0

* Simplify Rails.gitignore
2019-09-10 11:08:25 -03:00
OKURA Masafumi
1a417fe294 Don't ignore tmp and log directory (#2999)
https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/
Rails `5.2.2.1` requires `tmp` directory committed to git repository for CI to run successfully.
2019-03-14 09:55:38 -03:00
Valentine C
86fdc70096 Ignore public/assets in Rails .gitignore 2018-10-06 13:28:22 +08:00
Gurvir Cheema
3db98a37a4 Add storage and yarn related entries for rails 5.2 2018-09-02 23:24:10 -07:00
chimame
1af113752b Add exclude credential master key of Rails 5.2 2018-03-28 22:19:32 +09:00
Stefan
0a4fc9c0ef Ignore node_modules (#2538)
Rails 5 uses npm to handle javascript dependancies, node_modules should not be checked in to git.
2017-12-15 12:41:09 +10:30
Connor Taffe
811b3a6998
Double-asterisk misuse
`**.` is invalid
2017-03-23 11:09:50 -05:00
Steve Hull
cedd263b83 Remove config/secrets.yml
Rails no longer generates this file with sensitive secrets (default now is to do `secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>` in production).
2016-08-08 11:38:53 -07:00
Max Woolf
a275681ead Annotate .env addition 2016-05-12 10:02:05 +01:00
Max Woolf
85147407e4 Add .env to optionally ignored files
Many twelve-factor apps use environment variables rather than the built in Rails secrets mechanism to store secrets.
The [dotenv](https://github.com/bkeepers/dotenv) gem is widely used for this purpose and allows environment variables to be loaded from the `.env` file. However, this file should not be committed to source control.

This PR just adds the `.env` file to `.gitignore` so that these secrets aren't accidentally committed. In some rare instances, it may be required that this file is committed to source control so I've added it to the list of files that can be removed if the developer is ok with secrets being committed.
2016-05-12 08:53:20 +01:00
pisaacs
9c92fa360f Add .byebug_history to gitignore
.byebug_history included in default Rails5 setup (https://github.com/rails/rails/blob/master/railties/lib/rails/generators/rails/app/templates/gitignore)
2016-01-23 12:56:49 -05:00
Justas Brazauskas
f5784d7a10 Fix few typos 2015-12-13 16:07:46 +02:00
Wafiq Rodzuan
33546effa9 Typo in comment
I know this is petty, but imagine thousand upon thousand of corrective commits saved by fixing the typo right into the heart of the file.
2015-01-21 16:30:32 +08:00
Carl Suster
19e774822b Merge pull request #1257 from sidewinder94/patch-1
Ignoring Pow environment settings (Rails)
2015-01-07 16:58:02 +11:00
Antoine-Ali Zarrouk
15aa5a8af2 Removed .powconfig line
Couldn't find any references to .powconfig  being used in application directory
2014-11-18 10:05:35 +01:00
Antoine-Ali Zarrouk
a891529b38 Targeted more specifically pow files 2014-11-18 09:55:58 +01:00
renhx
15e56afe09 Added *.sqlite3-journal to Rails.gitignore 2014-11-13 17:34:19 +09:00
Antoine-Ali Zarrouk
825ec35036 Ignoring Pow environment settings 2014-10-21 11:50:16 +02:00
Fabian Heredia Montiel
6f167b8992 Add ignores for bower-rails
bower-rails integrates bower.io into Rails, it allows you to have everything in a Bowerfile and install all vendor assets easily.
2014-07-18 16:11:42 -05:00
Adam Gross
b7664de699 Changing been to being per https://github.com/tmountjr 2014-04-18 13:32:38 -04:00
Adam Gross
5f1911f3b4 Simple grammar update 2014-04-18 13:19:46 -04:00
Adrian Rangel
9d4978d1c8 add notice about secret files 2014-04-04 16:25:30 -06:00
Carl Suster
553033ff2f Remove old sass-cache rule for Rails 2014-02-21 10:39:43 +11:00
Shawn Davenport
8c525145ac secrets.yml, not secret. 2013-12-14 12:58:17 -06:00
Shawn Davenport
9a2da27935 Rails: Ignore the new home of secret_key_base. 2013-12-14 12:55:32 -06:00
Carl Suster
669668fb14 Join comments in rails template 2013-11-10 21:39:33 +11:00
Carl Suster
0ac2f7cb82 Optionally ignore ruby env normalisation files, with comments 2013-11-10 21:12:01 +11:00
Adam Roben
6309a0abea Merge pull request #522 from zellux/master
Ignore Rails directories instead of their files
2013-11-07 10:34:58 -08:00
Pedro Nascimento
85562c2572 Remove .project from Rails.gitignore. 2013-09-09 01:14:44 -03:00
Aldo Román Nureña
0bad6cf48b added secret_token.rb
I added secret_token.rb file to the gitignore as there are public repos sharing it.
2013-08-12 12:40:19 -05:00
Yuanxuan Wang
ab68187ab9 Ignore Rails directories instead of their files 2013-01-24 16:47:17 +08:00
Daniel Hengeveld
4f86c33896 Merge pull request #463 from michaelminter/patch-1
add .project files to .gitignore
2012-12-19 14:35:58 -08:00
Michael Minter
a698a92747 add .project files to .gitignore
.project files come from Aptana Studio, a Rails IDE.
2012-10-30 12:05:22 -05:00
mwitek
c9397c586b added .rvmrc to the list of ignored extentions 2012-10-28 20:49:30 -04:00
frankel
171709e8e8 config/*.yml should not be ignored in Rails
The possible files could be database.yml or sold.yml
2011-12-05 06:14:54 +08:00
Marcin Ciunelis
8fd1095933 added pickle generated files 2011-02-21 18:04:04 -08:00
seenmyfate
83a92c8e7f added rerun and config ignores 2010-11-13 05:55:28 +08:00
David Padilla
2f219bd07e Ignore .orig files for Rails 2010-11-09 00:00:45 -08:00
Tom Ward
6f6fbb0363 Unless full paths are used .gitignore, all matching files and folders will be ignored, however deep they are in the repo.
For example, ignoring log/* doesn't just ignore all log files, but also files such as lib/project/log/awesome_logger.rb.  It's a mistake I've made a couple of times but never seemed to have learned from.
2010-11-08 23:58:18 -08:00
Jeffry Degrande
2cd02577f2 rspec config file and capybara generated files 2010-11-09 15:45:44 +08:00
Jeffry Degrande
ef630e07b4 sass generated files 2010-11-09 15:45:43 +08:00
Chris Wanstrath
244b9d3ef5 Remove .rmvrc from Rails.gitignore. Feel free to add manually. 2010-11-08 15:08:54 -08:00
Joey Geiger
1231be1e5d I think you also want to ignore vendor/bundle... 2010-11-08 15:04:31 -08:00
Yaroslav Markin
672ce09d68 Ignore Rubinius compiled files 2010-11-09 06:41:26 +08:00
bry4n
b3e1755b56 added .rvmrc and coverage/ (rcov) to Rails.gitignore 2010-11-09 04:49:39 +08:00
Chris Wanstrath
b7cc33a99b begin! add Rails and Obj-C templates 2010-11-08 12:21:45 -08:00