Skip to content

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

License

Notifications You must be signed in to change notification settings

diowa/rgeo-sinatra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published