I can’t seem to find any clarification on this online -
Is there a reason why someone would declare development dependencies in their
.gemspec file vs their
Gemfile (with bundle groups). Or why both forms would be used in the same project?
- Gemfile only: https://github.com/thoughtbot/administrate/blob/master/Gemfile
- .gemspec only: https://github.com/thoughtbot/scenic/blob/master/scenic.gemspec
- Both in same project: https://github.com/rails-api/active_model_serializers