Add upper version bound to rails gem