I would like to use 'bundle console' to start an IRB session in the context of my current bundle, which includes dj_remixes. However, bundle console won't load due to uninitialized constant errors. I got it working with some if defined? Rails conditionals to the definitions of DJ::ActiveRecordRailtie and DJ::ActionMailerRailtie in their initializers, but I'm not sure that's the right way to do it.
I would like to use 'bundle console' to start an IRB session in the context of my current bundle, which includes dj_remixes. However, bundle console won't load due to uninitialized constant errors. I got it working with some
if defined? Rails
conditionals to the definitions of DJ::ActiveRecordRailtie and DJ::ActionMailerRailtie in their initializers, but I'm not sure that's the right way to do it.