changed railties dep to work with rails4

Updated the railties dependancy so this would run under rails4.