Call ruby and cabal directly, they are now hopefully on the PATH