- 
                Notifications
    You must be signed in to change notification settings 
- Fork 37
Open
Labels
Description
Description
RailsRealFavicon specifies a dependency on rails gem - 
| s.add_dependency "rails", ">= 3.1" | 
rails is just an "umbrella gem" that depends on all the components of Ruby on Rails framework - https://github.com/rails/rails/blob/86ca5b254109e64edeb6e142e656b8a8c247cac8/rails.gemspec - ActiveSupport, ActionPack, ActiveRecord, ...
I want to avoid installing actioncable gem in my Rails application. When RailsRealFavicon specifies rails gem as a dependency then actioncable becomes my transitive dependency automatically and there is no way to avoid installing it.
Proposal
Depend only on these parts of Rails that RailsRealFavicon actually uses, for example:
gem.add_dependency "railities", ">= 3.1.0"
gem.add_dependency "actionview", ">= 3.1.0"I'm happy to make a PR if you accept the change.
Freika, aCandidMind, imgarylai, tfluehmann, alexventuraio and 4 more