Moving rake tasks into rake file broke things. Added railties so tasks can still be called by other applications.