Ruby Modèle .gitignore
Ruby installed gems, bundler cache, coverage reports, and documentation. Généré et fusionné de manière déterministe avec les règles officielles de GitHub pour préserver votre dépôt des répertoires de dépendances, artefacts de compilation et fichiers de configuration locale.
Générateur interactif de stack
Ouvrir dans le générateur completRuby installed gems, bundler cache, coverage reports, and documentation
### 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_historybuild/*.bridgesupportbuild-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?--* Source brute de Ruby .gitignore
Modèle officiel upstream explorable*.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_historybuild/*.bridgesupportbuild-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?--* Détail des règles clés
Dépendances et paquets
Exclut les dossiers de dépendances installées et les bibliothèques tierces réinstallables via les gestionnaires de paquets.
Artefacts de compilation
Ignore les binaires compilés, les fichiers objets intermédiaires et les dossiers de sortie générés lors de la compilation.
Caches et fichiers temporaires
Ignore les caches des compilateurs, les rapports de couverture de tests et les fichiers de travail temporaires.
Origine et vérification
Placez ce fichier dans le répertoire racine de votre projet sous le nom .gitignore. Les modifications s'appliquent aux fichiers nouveaux ou non suivis.