3 ms·
Can't you just "vendor everything" and now each project will install all of the gems locally to vendor and not be concerned about global choices? http://ryan.m
by rschmitty 13y ago
Can't you just "vendor everything" and now each project will install all of the gems locally to vendor and not be concerned about global choices?
http://ryan.mcgeary.org/2011/02/09/vendor-everything-still-applies/ http://ryan.mcgeary.org/2011/02/09/vendor-everything-still-a...
- tomphoolery 13y agoSure, but if you use Git this can get pretty hard to deal with especially on large repos with lots of history. A `git clone` downloads an entire repo, and all of its history...so if you have a bunch of gems or executables in there that boosts the contents of your repo tremendously. This is why there is `bundle install --deployment`, which "freezes" the Gemfile and ensures it has not changed from what has been committed to the repo. If it has, `bundle install` will not succeed.