Add railties dependency