Installed rails and postgresql