language26 個の有効ルール2026-09-30 検証済み
Ruby .gitignore テンプレート
Ruby installed gems, bundler cache, coverage reports, and documentation. 公式GitHubリポジトリの最新パターンと決定論的に統合され、パッケージディレクトリ、一時ビルド成果物、ローカル環境ファイルをクリーンに保ちます。
スタック統合ジェネレーター
フルジェネレーターで開く/
Search for templates
クイック追加:
選択中1
Ruby
選択されたテンプレート (1)
Ruby
language
Ruby installed gems, bundler cache, coverage reports, and documentation
#ruby#rb#gem
.gitignore
26 ルール•1 テンプレート
### 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?--* 58 行•UTF-8•LF
決定論的パイプライン
生ソース: Ruby .gitignore
クローラブルな公式アップストリーム原典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_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?--* 主要除外パターンの解説
依存関係・パッケージフォルダ
パッケージマネージャーによって再インストール可能な外部ライブラリや vendor フォルダを除外します。
/vendor/bundle
ビルド・コンパイル生成物
ビルド処理で生成されるバイナリ、オブジェクトファイル、出力先ディレクトリを除外します。
build/build-iPhoneOS/build-iPhoneSimulator/
キャッシュ・一時ファイル
コンパイラキャッシュ、テストカバレッジデータ、一時作業ファイルを除外してリポジトリを軽量に保ちます。
/coverage//test/tmp//test/version_tmp//tmp/
ソース元とライセンス検証
ライセンス:: CC0-1.0
このファイルをプロジェクトのルートディレクトリに .gitignore というファイル名で配置してください。新規および未追跡ファイルに即座に反映されます。