Not that I'm advocating for this with RAM, but another tried and true solution for necessary goods with limited supply is rationing. This is what got everyone through WW2, for example.
Rationing works when people can make do with a small amount of something despite preferring a larger amount. In particular, food rationing was not about alternatives, but simply about restricting everyone's diet so that a limited food supply would be consumed more slowly without starving anyone.