fixed some gems dependencies issues