CocoaPods/Core

Are you using a global gitignore to ignore the vendor directory?

mfaani opened this issue · 1 comments

I ask because when I tried cloning the repos and runbundle install a vendor directory is created. Yet I don't see you ignoring it in gitignore nor I see it committed in the repos.

My only guess is that it's getting ignored through a global gitignore? If so is this documented or can it be documented?

some good discussion in the comments of this question: https://stackoverflow.com/q/65442448/5175709

SOLUTION:
Upon creating my first gem I went through a tutorial and set up my bundle's config as such:

BUNDLE_PATH: "vendor/bundle"

What this means is that the vendor will be local to your project.

Removing that line from my bundle config helped put the dependencies at the global space. That way multiple projects can use the same vendor directory and won't have re-download the same vendor dependencies.