fix railties dependencies