Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rails new --minimal or some variant? #151

Closed
raghubetina opened this issue Jun 4, 2020 · 5 comments
Closed

rails new --minimal or some variant? #151

raghubetina opened this issue Jun 4, 2020 · 5 comments
Assignees

Comments

@raghubetina
Copy link
Contributor

Should we use this or some variant of it?

rails/rails#39282

@JeffCohen
Copy link

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 :-)

@raghubetina
Copy link
Contributor Author

raghubetina commented Jun 4, 2020

@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?

@JeffCohen
Copy link

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).

@raghubetina
Copy link
Contributor Author

@JeffCohen Perfect, thank you as always sir.

@jelaniwoods
Copy link
Contributor

Resolved in #157

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants