fix gems dependencies bug