check rails installation before installing loco