Correct railties dependency