Wed 6 Jan 2010
NoMethodError: undefined method `timeout=’ for Geokit::Geocoders:Module
Posted by kosmas under ruby on rails
No Comments
Problem
Using the latest version of Geokit gives the error for undefined method ‘timeout’. This could happen if the gem/plugin didn’t modify the config/environment.rb file, and you had to copy the configuration values from an older version.
Solution
The configuration variable has changed in the latest version (1.5.0) from timeout to request_timeout, so change it in your config/environment.rb file as :
GeoKit::Geocoders::request_timeout = 3
No Responses to “ NoMethodError: undefined method `timeout=’ for Geokit::Geocoders:Module ”