nerdEd/gtfs — pull request #1 by xionon (2012-04-12 21:53:05+00:00)
Title: Gemspec & Rails compatibility

This adds a gemspec to the project, which allows it to be installed via bundler.

You can use my repo to try it out on a rails project:

gem 'gtfs', :git => "git://github.com/xionon/gtfs.git", :branch => "gemfile"

GTFS should then be available from the rails console.

I had to change the write mode of the tmp file to "wb" (from just "w"), because the zip file I was attempting to load didn't work with plain "w" and rails.

[This is the zip file I was attempting to load](http://mta.info/developers/data/mnr/google_transit.zip)

[It came from the MTA - http://mta.info/developers/download.html](http://mta.info/developers/download.html)

I'm sure there are some things missing, this is my first gemspec.