Added a better version for the rails dependency