Espanyol have appointed Rubi as their new head coach.
He replaces Quique Sanchez Flores, who was sacked in in April after a run of five games without a win or a goal.
Reserve team coach David Gallego ensured the season ended with a flourish, guiding them to four wins and a draw in their remaining five matches to secure an 11th-placed finish.
Espanyol marks the 12th job of Rubi's nomadic managerial career, which has seen him take in spells at Girona, Valladolid, Levante and Sporting Gijon before taking charge of Huesca at the start of the 2017-18 campaign.
Despite the range of clubs he has worked at, as well as a playing career which saw him line out as a winger for a number of lower division sides in Spain, Rubi has yet to win any trophies.
His best season was his most recent, having helped Huesca secure their first-ever promotion to Spain's top tier, finishing a point behind Rayo Vallencano at the top of the Segunda Division.
Rubi will be officially presented as the new Espanyol head coach on Monday, June 4, where he will give his first interview as boss of the Catalan club.