Closed raghubetina closed 4 years ago
YES. I think minimal straight up is probably perfect (unless you have first draft-specific gems that you also like).
I also wish rails new
implied --minimal
by default :-)
@JeffCohen Yes there are a few different gems we'd add in on top; web_git
, draft_generators
, etc.
I would like one master gem, appdev
or something, that pulls in all the other gems that we like to add. Do you have any advice on how that should be structured, @JeffCohen, or an example that we should look at for inspiration? Is that what railties is?
Hey great question.
I think the best reference is the rails
gem itself. Although the rails repository contains all the code, the rails gem itself is only one file, a README.md file. The rest gets pulled in from the dependency list.
Here's the code, the dependencies start on line 31: https://github.com/rails/rails/blob/master/rails.gemspec#L31
(IIRC the railties
gem is sort of the "bottom" of the stack, providing a lot of bootstrapping/code-loading code, and doesn't really have any dependencies of its own).
@JeffCohen Perfect, thank you as always sir.
Should we use this or some variant of it?
https://github.com/rails/rails/pull/39282