Fixes railties dependency.