Changed rails version beta4 to beta2; it was causing issues with deployment