Some fixes for the new server environment...
Fix deploy scripts
Update Rails for security.