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
пре 2 година
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
пре 4 година
hshimoyama
1604c21c60
Add .env.* to optionally ignored files in Rails.gitignore. (#3065)
пре 4 година
Marlon Henry Schweigert
3dc70c8fc4
Upgrate to rails 6.0.0 (#3167)
* Upgrate to rails 6.0.0
* Simplify Rails.gitignore
пре 4 година
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.
пре 5 година
Valentine C
86fdc70096
Ignore public/assets in Rails .gitignore
пре 5 година
Gurvir Cheema
3db98a37a4
Add storage and yarn related entries for rails 5.2
пре 5 година
chimame
1af113752b
Add exclude credential master key of Rails 5.2
пре 6 година
Stefan
0a4fc9c0ef
Ignore node_modules (#2538)
Rails 5 uses npm to handle javascript dependancies, node_modules should not be checked in to git.
пре 6 година
Connor Taffe
811b3a6998
Double-asterisk misuse
`**.` is invalid
пре 7 година
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).
пре 7 година
Max Woolf
a275681ead
Annotate .env addition
пре 8 година
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.
пре 8 година
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 )
пре 8 година
Justas Brazauskas
f5784d7a10
Fix few typos
пре 8 година
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.
пре 9 година
Antoine-Ali Zarrouk
15aa5a8af2
Removed .powconfig line
Couldn't find any references to .powconfig being used in application directory
пре 9 година
Antoine-Ali Zarrouk
a891529b38
Targeted more specifically pow files
пре 9 година
renhx
15e56afe09
Added *.sqlite3-journal to Rails.gitignore
пре 9 година
Antoine-Ali Zarrouk
825ec35036
Ignoring Pow environment settings
пре 9 година
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.
пре 10 година
Adam Gross
b7664de699
Changing been to being per https://github.com/tmountjr
пре 10 година
Adam Gross
5f1911f3b4
Simple grammar update
пре 10 година
Adrian Rangel
9d4978d1c8
add notice about secret files
пре 10 година
Carl Suster
553033ff2f
Remove old sass-cache rule for Rails
пре 10 година
Shawn Davenport
8c525145ac
secrets.yml, not secret.
пре 10 година
Shawn Davenport
9a2da27935
Rails: Ignore the new home of secret_key_base.
пре 10 година
Carl Suster
669668fb14
Join comments in rails template
пре 10 година
Carl Suster
0ac2f7cb82
Optionally ignore ruby env normalisation files, with comments
пре 10 година
Pedro Nascimento
85562c2572
Remove .project from Rails.gitignore.
пре 10 година
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.
пре 10 година
Yuanxuan Wang
ab68187ab9
Ignore Rails directories instead of their files
пре 11 година
Michael Minter
a698a92747
add .project files to .gitignore
.project files come from Aptana Studio, a Rails IDE.
пре 11 година
mwitek
c9397c586b
added .rvmrc to the list of ignored extentions
пре 11 година
frankel
171709e8e8
config/*.yml should not be ignored in Rails
The possible files could be database.yml or sold.yml
пре 12 година
Marcin Ciunelis
8fd1095933
added pickle generated files
пре 13 година
seenmyfate
83a92c8e7f
added rerun and config ignores
пре 13 година
David Padilla
2f219bd07e
Ignore .orig files for Rails
пре 13 година
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.
пре 13 година
Jeffry Degrande
2cd02577f2
rspec config file and capybara generated files
пре 13 година
Jeffry Degrande
ef630e07b4
sass generated files
пре 13 година
Chris Wanstrath
244b9d3ef5
Remove .rmvrc from Rails.gitignore. Feel free to add manually.
пре 13 година
Joey Geiger
1231be1e5d
I think you also want to ignore vendor/bundle...
пре 13 година
Yaroslav Markin
672ce09d68
Ignore Rubinius compiled files
пре 13 година
bry4n
b3e1755b56
added .rvmrc and coverage/ (rcov) to Rails.gitignore
пре 13 година
Chris Wanstrath
b7cc33a99b
begin! add Rails and Obj-C templates
пре 13 година