Add dependency to railties