fix installing ruby, fix #8