[openstreetmap/openstreetmap-website] Move the non-db quad_tile functions to an extension? (#1314)

Andy Allan notifications at github.com
Thu Oct 6 14:11:31 UTC 2016


Documenting the existence of the non-db quad_tile functions is useful (#1313) but it makes the instructions longer than they already are.

It would be good to find an alternative, so that the compiled versions of the functions are available automatically, without developers needing to care about them. Of course, the ruby fall-back means that they already don't need to care, but only until they waste a lot of time running the test suite!

As far as I'm aware, the easiest way to make the compilation happen automatically is through bundler when installing gems. The code only relies on <math.h> so there's no fancy dependencies. Would it make sense to move the quad_tile code to a gem? Or is there a way to put the extension compilation instructions into the openstreetmap-website/Gemfile instead?

http://guides.rubygems.org/gems-with-extensions/

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1314
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20161006/ee786c3f/attachment-0001.html>


More information about the rails-dev mailing list