This is of course a special case of the more difficult question on compactifiable morphisms.

I would like to know if there is an easier proof of the following fact:

Every algebraic variety $X$ admits an open embedding into a proper variety.

It may be just an easy homework exercise, but I'm not sure how to proceed.