Skip to content
apneadiving edited this page Jan 2, 2012 · 1 revision

To use a proxy server while doing geocoding, use one of two methods:

  • Set the environment variable HTTP_PROXY in the web server

  • Set the variable directly in one of the rails environment files, such as config/environments/production.rb:

    Gmaps4rails.http_proxy = "http://proxy.example.com:3128"