Actually, we don’t know which era Ryuma belonged to.
I think the most likely scenario is that he lived during the Void Century, since it’s said that Wano was known as the “Country of Gold” in his time, and during Vegapunk’s speech there’s this line from a random pirate:
Could that be subtle foreshadowing?