Giter Site home page Giter Site logo

Missing gem warning about geokit-rails HOT 13 CLOSED

geokit avatar geokit commented on May 23, 2024
Missing gem warning

from geokit-rails.

Comments (13)

laserlemon avatar laserlemon commented on May 23, 2024

This is with the latest geokit-rails plugin on Rails 2.3.4 with geokit 1.5.0.

from geokit-rails.

Jasonbit avatar Jasonbit commented on May 23, 2024

I'm getting the same warning. Love geokit, but that warning is annoying.

from geokit-rails.

kbrock avatar kbrock commented on May 23, 2024

JackDanger has patched his branch to fix this.
I brought in the change and it fixed this issue for me

from geokit-rails.

lenart avatar lenart commented on May 23, 2024

Adding require 'geokit' to the top of config/initializers/geokit_config.rb solves the problem!

from geokit-rails.

laserlemon avatar laserlemon commented on May 23, 2024

It certainly does not for me, as mentioned in the original post.

from geokit-rails.

lenart avatar lenart commented on May 23, 2024

@laserlemon: on the gem's site they say that one way of fixing this bug is adding require to the top of plugin's init.rb. They'll probably fix this in future versions.

P.S. I understand your problem with "hacking the plugins code" :)

from geokit-rails.

laserlemon avatar laserlemon commented on May 23, 2024

Thanks for the advice. I do know that that's one way to fix it, but obviously it's not ideal. I'm posting here in hopes that andre will add that himself. For now, to avoid plugin h4x, I'm adding this to the top of my environment.rb:

begin; require 'geokit'; rescue LoadError; end

Any plans on resolving this, andre? Thanks!

from geokit-rails.

bcardarella avatar bcardarella commented on May 23, 2024

+1 for pulling in JackDanger's patch. It is more elegant than the other suggested solutions

from geokit-rails.

laserlemon avatar laserlemon commented on May 23, 2024

Any updates on this issue? Thanks.

from geokit-rails.

timtrautmann avatar timtrautmann commented on May 23, 2024

Would be nice to get the patch into the master since this error is so annoying.

from geokit-rails.

tatyree avatar tatyree commented on May 23, 2024

I'll add my +1 for the JackDanger patch. Had to use laserlemon's solution in the first instance, but it should have a proper fix.

from geokit-rails.

phstc avatar phstc commented on May 23, 2024

I sent a pull request to Andre, to resolve this issue ;)

I hope that Andre accept it

from geokit-rails.

ryankopf avatar ryankopf commented on May 23, 2024

No activity in 10 years, because I think this has been fixed in a release several years ago.

from geokit-rails.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.