use pure ruby which instead of running shell to call a builtin