geokit / geokit-rails

Official Geokit plugin for Rails/ActiveRecord. Provides location-based goodness for your Rails app. Requires the Geokit gem.
MIT License
1.57k stars 245 forks source link

Install issues #64

Open dreadstar opened 9 years ago

dreadstar commented 9 years ago

Hi, Thanks for your work. i followed the instructions adding the geokit gem and then installing geokit-rails. however, had trouble with the following step:

  1. The configuration file: Geokit for Rails uses a configuration file in config/initializers. You must add your own keys for the various geocoding services if you want to use geocoding. If you need to refer to the original template again, see the assets/api_keys_template file.

**Didnt see the assets/api_keys)template file. Are you referring to /app/assets folder? I found an example of the api_keys_template online but what should the final file be called?

  1. The gem dependency: Geokit for Rails depends on the Geokit gem. Tell Rails about this dependency in config/environment.rb, within the initializer block: config.gem "geokit"

***I am a little new to Rails and tried to follow this instruction but when i copied "config.gem "geokit"" to config/environment.rb i got an error. Can you provide an example with the initializer blck code that would wrap your entry?

Is there any deeper problem indicated by the fact that the initializer file wasnt created?

Thanks, Tyrone