Skip to content
language26 regole attiveVerificato il 2026-09-30

Ruby Modello .gitignore

Ruby installed gems, bundler cache, coverage reports, and documentation. Generato e unito in modo deterministico con i pattern ufficiali del repository GitHub per preservare il tuo progetto da cartelle di dipendenze, file compilati e variabili d'ambiente locali.

Generatore interattivo di stack

Apri nel generatore completo
Search for templates
Aggiunta rapida:
Selezionati1
Ruby
Modelli selezionati (1)
.gitignore
26 regole
### Ruby ###
*.gem
*.rbc
/.config
/coverage/
/InstalledFiles
/pkg/
/spec/reports/
/spec/examples.txt
/test/tmp/
/test/version_tmp/
/tmp/
# Used by dotenv library to load environment variables.
# .env
# Ignore Byebug command history file.
.byebug_history
## Specific to RubyMotion:
.dat*
.repl_history
build/
*.bridgesupport
build-iPhoneOS/
build-iPhoneSimulator/
## Specific to RubyMotion (use of CocoaPods):
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
# vendor/Pods/
## Documentation cache and generated files:
/.yardoc/
/_yardoc/
/doc/
/rdoc/
## Environment normalization:
/.bundle/
/vendor/bundle
/lib/bundler/man/
# for a library or gem, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# Gemfile.lock
# .ruby-version
# .ruby-gemset
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc
# Used by RuboCop. Remote config files pulled in from inherit_from directive.
# .rubocop-https?--*
58 righe•UTF-8
Pipeline Deterministica

Sorgente di Ruby .gitignore

Modello ufficiale upstream indicizzabile
ruby.gitignore•57 lines•UTF-8
*.gem
*.rbc
/.config
/coverage/
/InstalledFiles
/pkg/
/spec/reports/
/spec/examples.txt
/test/tmp/
/test/version_tmp/
/tmp/
# Used by dotenv library to load environment variables.
# .env
# Ignore Byebug command history file.
.byebug_history
## Specific to RubyMotion:
.dat*
.repl_history
build/
*.bridgesupport
build-iPhoneOS/
build-iPhoneSimulator/
## Specific to RubyMotion (use of CocoaPods):
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
# vendor/Pods/
## Documentation cache and generated files:
/.yardoc/
/_yardoc/
/doc/
/rdoc/
## Environment normalization:
/.bundle/
/vendor/bundle
/lib/bundler/man/
# for a library or gem, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# Gemfile.lock
# .ruby-version
# .ruby-gemset
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc
# Used by RuboCop. Remote config files pulled in from inherit_from directive.
# .rubocop-https?--*

Dettaglio delle regole principali

Dipendenze e pacchetti

Esclude le cartelle dei pacchetti installati e le librerie esterne che possono essere ripristinate tramite package manager.

/vendor/bundle

Artefatti di compilazione

Ignora i file binari compilati, i file oggetto intermedi e le cartelle di output generate durante la build.

build/build-iPhoneOS/build-iPhoneSimulator/

Cache e file temporanei

Ignora le cache dei compilatori, i dati di copertura dei test e i file di bozza temporanei per mantenere il repository agile.

/coverage//test/tmp//test/version_tmp//tmp/

Origine e licenza verificata

Licenza:: CC0-1.0

Salva questo file nella radice del tuo progetto con il nome .gitignore. Le modifiche avranno effetto sui file nuovi o non ancora tracciati.