fix mounting external rubies, fix #2107