3 ms·
tldr: A classic brute force ruby solution by downloading the whole list of gems and parsing it has (finally) been replaced by an intelligent way of fetching jus
by sunkencity 15y ago
tldr: A classic brute force ruby solution by downloading the whole list of gems and parsing it has (finally) been replaced by an intelligent way of fetching just what's needed, on the new rubygems api that bundler and rubygems have developed together.
awesome!
- tptacek 15y agoWhich classic brute force Ruby solution was the right call, seeing as how Bundler (a) improves ad-hoc packaging dramatically and (b) has gained widespread adoption. They did the simplest thing that could possibly work, and ended up delivering 65% solution; now they're iterating. The hard work was getting people to adopt Bundler in the first place.
- martingordon 15y agoThis. I'd rather have waited an extra 25 seconds on every bundle install over the past year than being forced to manage gem dependencies manually for another year.
- sunkencity 15y agoBrute force hack is always the right way to start out, and I love the ruby community/the ruby approach for this. Get something that works, and then optimize the internals if project takes off. For a solution to the rubygems index download they needed the changes to the rubygems api, which they could probably not have affected before being a successful project.