codeforamerica/ticket-to-ride — pull request #269 by plusjeff (2014-08-29 18:50:43+00:00)
Title: "For You Blue" or Made compatible with JRuby

This update allows the application to run with JRuby, without modify the workflow that an MRI Ruby (i.e. normal Ruby) developer would experience. This will help improve compatibility across platforms, but also make certain aspects work better on Windows (file uploads and weird hangs).

I've tested the changes in the following environments by going completely through the parent flow:

- Windows 8.1 + JRuby 1.7.14 (bundled with Java 7)
- Mac OS X 10.10 + JRuby 1.7.14 (using installed Java 7)
- Mac OS X 10.10 + MRI 1.9.3

The only weird incompatibilities were needing to include OpenSSL and SQLite drivers during installation (changes were enclosed in a Gemfile group that will only run for JRuby users) and the regular expression used to validate e-mail addresses (I've switched to using a gem to do this, which is probably a better idea anyway).

Documentation has been updated to instruction users on how to use JRuby should they choose to do so. Windows developer instructions still point to MRI Ruby, but they are encouraged to use JRuby instead.

@codesliced @markGiansanti I've reviewed this as noted above. You're both out until Tuesday and I'll need this change to progress on file attachments for admin. I'll let this sit for a few hours incase one of you has a chance to review, but otherwise I'm going to merge this by the end of the day.

As a side note, I also removed the X-Editable dependency as it was having trouble downloading, but we weren't using it anymore anyway.