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.
9 年之前
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 年之前