title: Run initializer except for rake tasks
body: <p>The opposite of this question: <a href="https://stackoverflow.com/questions/4323632/run-initializer-only-for-rake-tasks">Run initializer only for Rake tasks</a></p>
  
  <p>Is it possible to exclude an initializer during rake tasks?</p>
  
  <p>Thanks.</p>