I’m a noob to RoR, so any help/clarification is appreciated.
Is the .gitignore file in Rails universal/global to all of Rails, or does each project/app have its own .gitignore?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A default
.gitignoreis created when you create a new Rails app. That file tells git to ignore the things that are in a default Rails app that should probably be ignored.If there are other files that should be ignored in your specific app, you can make changes to the
.gitignore. If you’re not using git, you can delete the file entirely.It’s basically there to encourage best practices, but is in no way required to run a Rails app.