Fix gem dependencies.