bundler
bundler copied to clipboard
vendor/gems/dirs is confusing
Maybe vendor/gems/repos ?
I agree. This confused me when I first saw it.
"dirs" IS an unhelpful name. What is the correct handling of the "dirs" directory? Should it be checked in? When this occurs there is no .gem file in the cache.
The suggestion of the default .gitignore suggests that "dirs" shouldn't be checked in. bin/* vendor/gems/* !vendor/gems/cache/
But if you don't check it in, and there's no cached .gem file the gem will not be able to be extracted from your own repo, it will have to be cloned from the original repo at deploy time.