Fail server startup if can not connect to DB
Use correct temp dir for Ruby on Rails app