Check the dependent gem has been added or not.