10 ms·
That isn't the case for ActionCable, which will become a dependency of the 'rails' gem [1]. You'll have to unbundle the rails gem in your Gemfile, then require
by nwjsmith 11y ago
That isn't the case for ActionCable, which will become a dependency of the 'rails' gem [1]. You'll have to unbundle the rails gem in your Gemfile, then require the frameworks you want one-by-one in application.rb
[1]: https://github.com/rails/rails/blob/master/rails.gemspec#L28 https://github.com/rails/rails/blob/master/rails.gemspec#L28
- nateberkopec 11y agoYou can just add each Rails framework to your Gemfile and be done. `require "rails/all"` catches load errors, so you don't need to require the frameworks manually in application.rb. https://gist.github.com/nateberkopec/1184c81a92c10d84d779 https://gist.github.com/nateberkopec/1184c81a92c10d84d779