fixed gem dependency order
fixed gem dependecy orders