Ruthenium-catalyzed conversion of levulinic acid to pyrrolidines by reductive amination.