Complete ruby library
Fix ruby library