Task: Configure .gitignore for Ruby Projects Based on Best Practices
Task: Configure .gitignore for Ruby Projects Based on Best Practices: a task in Terminal-Lego-15k (Harbor dataset). Create a script that analyzes a Ruby project's directory structure and correctly configures the .gitignore file based on whether the project is a gem/library or an application …
The task
Create a script that analyzes a Ruby project's directory structure and correctly configures the `.gitignore` file based on whether the project is a **gem/library** or an **application**, following Ruby/Bundler community best practices regarding `Gemfile.lock`.
Part of PrimeIntellect/Terminal-Lego-15k.