First actionable version of the gemfile
Got rid of the database.example

Added require 'thread' to two places to try to avoid Mutex dependency failures. Ultimately just downgraded rubygems to 1.5.3 avoid this.
Slight localisation changes for app
Added require 'thread', because of Mutex depedency issues