Run initializer code only on "rails server"

Hello,

Is there a way to run initializer code (in config/initializers) only
on “rails server”, and not on “rails console”?

Thank you!

Henrique

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs