Geocoder not working for Heroku app

We’re using the Geocoder gem to match users by zipcode. It works locally on our machine on SQLite server but the user is not getting geocoded (latitutude & longitude) on the production site (Heroku).

Does anyone know why?

Live page:
Source code:

Solved it. Had to add this to application.rb.

config.assets.initialize_on_precompile = false 

Not sure why.