Re:Rails 5.0.0.beta1: Action Cable, API Mode, Rails Command
by jguimont on Monday December 21, 2015 @08:53AM
(#10771036)
You just need to comment the line in the Gemfile and you are done, no more dependencies. What is the big deal really.
[ Parent
| on HN ]
Re:Rails 5.0.0.beta1: Action Cable, API Mode, Rails Command
by nwjsmith on Monday December 21, 2015 @09:33AM
(#10771183)
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
Re:Rails 5.0.0.beta1: Action Cable, API Mode, Rails Command
by nateberkopec on Monday December 21, 2015 @10:13AM
(#10771400)
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.