Ruby cleanup