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.
When running
Rails.application.eager_load!
raises aNameError
:I think that the file structure must be:
Instead of:
On eager loading
geokit-rails
is treated asGeokit::Rails
instead ofGeokitRails
.