Setup minimal working Rails application

This sets up a minimal working Rails application skeleton to run in our production-like environments.
Fixed in e7cb7de.