removing railties dependency