Hacker News new | ask | show | jobs
by jguimont 3835 days ago
You just need to comment the line in the Gemfile and you are done, no more dependencies. What is the big deal really.
1 comments

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

You 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