Added pg to gemfile
added config.assets.initialize_on_precompile = false