changed railties dependency for trying with rails 4