geokit / geokit-rails

Official Geokit plugin for Rails/ActiveRecord. Provides location-based goodness for your Rails app. Requires the Geokit gem.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NameError: wrong constant name Geokit-rails

babasbot opened this issue · comments

When running Rails.application.eager_load! raises a NameError:

$ rake resque:work
rake aborted!
NameError: wrong constant name Geokit-rails
Tasks: TOP => resque:work => resque:preload
(See full trace by running task with --trace)

I think that the file structure must be:

├── lib
│   ├── geokit_rails
│   └── geokit_rails.rb

Instead of:

├── lib
│   ├── geokit-rails
│   └── geokit-rails.rb

On eager loading geokit-rails is treated as Geokit::Rails instead of GeokitRails.

Nevermind, this is not an error :)