Patch for bundled gems that depend on application config settings

Would appreciate any thoughts/feedback on my ticket/patch.

https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/4009-move-bundlerrequire-below-class-application-end

Thanks! - Joe

Would appreciate any thoughts/feedback on my ticket/patch.

When are the routes initialized now? Some routes may depend on gems being loaded (like devise, for example)

Gems are loaded first so that, if they want, they can set things up for application configuration. If you want to hook into a LATER point, you can create your own Railtie and provide an #initializer, which you can set to run whenever you want :slight_smile:

Yehuda Katz Developer | Engine Yard (ph) 718.877.1325