Simplify & fix python and ruby setup.