How to fix Andre Geokit timeout method error

If you use Geokit plugin in a rails application, and it started to complain about undefined ‘timeout=’ method, the following command fired from the application root should help:

$ sed -i 's/Geocoders::timeout/Geocoders::request_timeout/' config/initializers/geokit_config.rb

Published on October 03, 2009 (about 8 years ago)

Article tags: geokit, rails, ruby

Comments (1)

Tania Rubio over 6 years ago

Many thanks! I have been facing this probem for many time till I found your post. It works perfect! thanks again!