Specify pessimistic major rails dependency