Added rails gem per troubleshooting