#11381: Ignore config.eager_load=true for rake

Closes #11381
Merge pull request #11389 from jetthoughts/11381_fix_hit_database_on_precompile

 #11381: Ignore config.eager_load=true for rake