Fix gem dependencies