Fix Gem dependencies

To avoid multiple updates and dependencies conflict with others.