improve rails installation