make sure rubygems_setup is available in scripts/external
fix removing environments even if it is a broken symlink