There's an interesting article over at the Economist on the wisdom of investing in gold right now over equities. You can find it here.

The graph is disarmingly simple. It simply shows the ratio of the Dow
to the gold price since 1920. As can be seen, there have been three
clear peaks in this ratio: in 1929, in the mid-1960s and in 2000. And
it also shows three lows: in the early 1920s, in the 1930s after the
crash and around the time of gold’s record high (in real terms) in
1979-1980. At those lows, the Dow and gold were almost equal.
My other favorite quote:
Enthusiasts will say that, unlike financial assets, gold is nobody
else’s liability. But the same is true for any commodity. Indeed, most
other commodities are a lot more useful. If a real dystopia appears
(think “Mad Max” or “I Am Legend”), most of us would rather have oil to
power our generators or cars than gold.
Gold, and commodities in general, are refuges for people who get nervous in times of economic trouble, because they seem more "real" than equities. But it's important to remember that the while commodities are more real, unless you're going to take delivery of 100 gold bars or 100 barrels of oil, their value is just as much a product of speculation as equities. The price of gold is dependent on just as many factors as the price of a stock, including how much of it is being used in manufacturing (of jewelry, say), and how much of its being newly mined; and how much people think it's worth.
As the article points out, commodities are only truly useful if you expect your paper money to become worthless, and you need some form of standardized value. The article mentions the Weimar Republic, but I think an even more timely example is Zimbabwe. In Zimbabwe, financial literacy charities teach children to buy pencils and other endurable commodities to hedge against inflation. So looking at the above quote, why is gold a good investment? In the case of a full financial meltdown, any commodity would be valuable, because we essentially fall back to a barter system. And in that case, I would rather have pencils than gold, because they're useful, not just shiny.
Why is gold a good investment right now? Well it's a good investment because right now the price keeps going up. But you know what else's price kept going up? Housing, and we all see how well that turned out.
A bubble is a bubble is a bubble, and over the long run everything reaches an equilibrium, even if that equilibrium is hard to see on the time line that we as humans can easily comprehend.