If they are both the same price, I'd prefer the extra 20 meters & being closer to town. It's a mistake to think all houses are better than apartments. Usually, the apartment will have a better layout than the old houses. Most old small houses have a really small living areas, space tends to be taken up by hallways, bathroom etc.
Not sure what part of Ringsend you're talking about , but they're no way I'd walk home there late at night on my own whereas I'd feel safe walking home Pearse st .