Hacker News new | ask | show | jobs
by gkemmey 2639 days ago
`bundle install` outputs `Bundle complete! 17 Gemfile dependencies, 78 gems now installed.`

Just doing some eyeballing:

- These look like the 62 gems in the production group: https://gist.github.com/gkemmey/6d6fcd381596b1b355d16e1e3120...

- Of those 62, how many are first party (by rails or other trusted vendors)? Looks like the vast majority...

- These look like the other 16 (dev / test groups): https://gist.github.com/gkemmey/6d6fcd381596b1b355d16e1e3120...

- On the JavaScript side, rails adds 5 top-level dependencies. 4 of those 5 have one external dependency between them: https://gist.github.com/gkemmey/6d6fcd381596b1b355d16e1e3120...

Of course, the fifth is `@rails/webpacker` which has `webpack`, `babel`, and friends as dependencies. And the node ecosystem is what it is, but I think `yarn list | wc` is going to double count shared dependencies, so 2800 is high.

TL;DR - I think new rails is about as minimal a footprint as possible...