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

Could not find generator 'geokit_rails:install' #95

Closed thehashrocket closed 8 years ago

thehashrocket commented 8 years ago

I added the gem, ran bundle install, and then went to do the important post install instructions. However, upon doing that I received this error:

rails g geokit_rails:install
Could not find generator 'geokit_rails:install'. Maybe you meant 'responders:install', 'devise:install' or 'devise_invitable:install'
Run `rails generate --help` for more options.

Am I missing something? I am using the following:

ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15]
Rails 4.2.4
rylanb commented 8 years ago

@thehashrocket Which version of geokit rails do you have?

gem 'geokit-rails', github: 'geokit/geokit-rails' should solve that issue for you, I believe. The documentation is out of date.

jponc commented 8 years ago

Thanks @rylanb