Added railties to dependencies