setting initialize_on_precompile to false and adding rails admin assets to precompile array in application.rb