fix installation of ruby