If $GEM_PATH is empty, abort.
Silence last cd.
Use pushd / popd.