ivaldi / brimir

Email helpdesk built using Ruby on Rails and Zurb Foundation
http://getbrimir.com
GNU Affero General Public License v3.0
1.38k stars 299 forks source link

Ignore .ruby-version and deployment-only files #437

Closed svoop closed 5 years ago

svoop commented 5 years ago

A tiny PR excluding .ruby-version from Git. As an alternative, .ruby-version could also be checked in, but many projects prefer not to.

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 92.221% when pulling 82c39bffe57ed65bb839fca07e60f1cdc4a82498 on svoop:ignore_ruby_version into 1b9adfd4a350f2b64cd60500a17406328ebd46f9 on ivaldi:master.

svoop commented 5 years ago

I've added three more paths to .gitignore which must not end up in the repo and furthermore obstruct manual deployment of Brimir with Git. By ignoring them, a production installation from Git can be easily updated without uncommmitted files (such as precompiled assets) getting in the way:

  1. fetch
  2. stash
  3. checkout
  4. apply stash