I just noticed that
rails gem actually requires
sprocket-rails as a runtime dependency. (According to https://rubygems.org/gems/rails) I would think that you only need s-r gem only if you enable asset pipeline. Should that dependency be moved to AP, Railtie, or removed?
I don’t think we need to change. This is like we do activerecord gem, even if you disable it the gem will be installed. When you disable the assets pipeline we just don’t load the sprockets-rails railtie.
If people don’t want to install tem gems they should pick the wanted gems in the gemfile removing the rails gem. Some time ago I opened a PR to change the way these options works but we conclude that it is not worth and would make harder to people add back the components.