Create new app and add gems interactively

I’m sorry if this is not the right place to post this. I made a gem and I would really appreciate some feedback from the community.

https://github.com/arielj/rails-new-app (will probably rename it in the future, I haven’t come up with a name that I like yet)

The idea of the gem is that it presents you with a menu to select different configurations and gems/tools to create a new rails app with many things already baked in.

Currently you can pick things like:

  • minitest/rspec
  • simple_form/formtastic
  • devise
  • pundit/cancancan
  • rubocop/standardrb
  • erb/slim/haml
  • pagy/kaminari/will_paginate
  • simplecov
  • a basic github actions workflow that runs tests
  • and more!

Some options are just some rails new flag (like the current db options or js frameworks) but others are more complex configurations, and I have ideas to add many more options (listed in the readme).

Thanks!

Looks like a super neat tool! I really like how you organized the codebase as well. I just had a quick look from my phone and I was able to understand super quickly how everything fits together! I am going to give it a try next time I generate a rails app.

Thank you for sharing your work :clap:

1 Like

Thanks! it took me many iterations to find a structure easy to understand to provide clear extensibility, glad to know it is!