Heroku buildpack: shp2pgsql We use this to ensure shp2pgsql is installed on our heroku instances. Check out bin/compile for the guts of it.