The current name according to historians comes from the name Rivo Rubeo, it has been found in some Roman ruins. This Latin name would be translated as referring to laugh red clay the Rubí dragged by its banks.
The city is of Roman origin, as evidenced by the many amphorae found on its territory. The belief about the origin of the name comes from his laugh, old Rubeo river for the Romans. The oldest written documents citing Ruby is from the year 986.

The church of St. Peter (patron of the city) was built around the tenth century, as the castle (of Arab origin). Sheltered by two farmhouses where the land was cultivated and later a stable urban center around the church of Sant Pere is built. Monument to victims of the 1962.

Ruby the festival weekend held closest to June 29, the day of San Pedro patron of the city. The most traditional events in the festival are; the proclamation, the mass, or rua parade, dances in tents, dances “esbart Dansaire Ruby” as the Ball Gitanes popularly known and a leader of the Catalan Gitanes. In the festival thousands of people take to the streets to Bailala together. We also found the castellera performance, firework, fireworks display, children’s activities, performances by folk groups, the funfair, craft market, orchestras, the tramp night …