Moving "config.assets.initialize_on_precompile=false" to config/application

Heroku precompile error was caused by Devise. In particular  "devise_for
:users" in routes.rb. Moving
"config.assets.initialize_on_precompile=false" to config/application.rb
instead of environments files