Reordered and removed rails dep