beyond-z/beyondz-playground — pull request #9 by ersimont (2014-07-29 20:31:28+00:00)
Title: A handful of modifications to allow installation on a windows machine.

A running monologue of my installation progress, which explains the motivation for each change:

The first problem was with `rake db:create`. It failed with the message `password authentication failed for user "beyondz-playground"`. Eventually I got the idea that it might not like the dash in the username, so I made another user without it, adjusted .evn & such, and the command worked.

Next, `db:migrate` didn't work, with the message `No source of timezone data could be found`. I had to include tzinfo-data in the gemfile to fix this.

Next, `db:seed didn't work` (and I began sensing a pattern). The error: `invalid byte sequence in US-ASCII (Argument Error)`. I wrote a quick program to scan the project for files with non-ascii characters, and found the offender to be db/seeds.rb. I added `#encoding: utf-8` to the top of that file to get past the error.

However, that only get me to the next error with `db:seed`. This time it was a syntax error in app/models/task.rb. I (maybe?) fixed that, and moved on.