File open with default application

Hi, I should open file with default application, I can use xdg-open with
sys call but I don’t want to use sys call. Can I do this using any gem?