Prepare the gnocchi in boiling salted water according to the instructions on the packet, then drain. Drain the pumpkin in a sieve. Wash the sage, shake dry and pluck the leaves from the stalk.
Peel onions and cut them into thin slices. Cut the bacon into small pieces. Heat oil in a large coated pan. Fry gnocchi, bacon, onion slices and pumpkin in it for 2-3 minutes and season with salt and pepper.
In the meantime melt butter in a pot. Add sage and let the butter get slightly nutty. Pour sage butter over the gnocchi. Arrange on plates.