4 ms·
You just need to comment the line in the Gemfile and you are done, no more dependencies. What is the big deal really.
by jguimont 11y ago
You just need to comment the line in the Gemfile and you are done, no more dependencies. What is the big deal really.
- nwjsmith 11y agoThat 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