improved ruby (ri) support