Rails application now runs as rails user. Also handle development/production runtime cases differently.