Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1020 Bytes

Readme.md

File metadata and controls

45 lines (30 loc) · 1020 Bytes

RGeo Sinatra

Show how to enable GEOS and PROJ extensions on a Ruby web application hosted on Heroku.

Mostly a showcase for our heroku-buildpack-vendorbinaries and Vesuvius

Automatic deploy

Deploy

Manual deploy

1. Clone this repository

git clone https://github.com/diowa/rgeo-sinatra.git
cd rgeo-sinatra

1. Create a new Heroku application

heroku apps:create

2. Set buildpacks

heroku buildpacks:set https://github.com/diowa/heroku-buildpack-vendorbinaries.git
heroku buildpacks:add heroku/ruby

3. Deploy

git push heroku master

Force recompile

You may need to force recompilation of RGeo to take advantange of the new version of GEOS. You may use the heroku repo plugin, running heroku repo:purge_cache and deploying again