add gem rails_12factor
add config.assets.initialize_on_precompile = false to application.rb