merlos / panatrans-api

Panama's public transport API
http://www.panatrans.org
13 stars 4 forks source link

exporting to gpx #1

Open merlos opened 9 years ago

merlos commented 9 years ago

On production (heroku) it seems that the gem gpx is not being loaded properly producing a Error 500 when requesting stops.gpx

The line on the Gemfile is:

gem 'andrewhao-gpx', git: 'https://github.com/merlos/gpx.git' # to export stops as gpx

My git version has some enhancenments which makes the output compatible with Open Street Maps Web to share GPX traces. A pull request to @andrewhao has been done for merge, but no response in ~1month.

Proposed sol: Check if with the regular gem outputs GPX. If it does, publish a new gem (ie: merlos-gpx), so it is a compatibility of heroku with github gems.

andrewhao commented 9 years ago

Hi there @merlos - my apologies, I didn't see your PR until now. Let me go review it.