add ruby libs and functions