From fe0ba8c641a8d9994f36ee0471f6fe0ca4a18eab Mon Sep 17 00:00:00 2001 From: micbou Date: Wed, 29 Nov 2017 19:34:53 +0100 Subject: [PATCH] Fix macOS builds on Travis RVM overrides the cd, popd, and pushd shell commands, causing the "shell_session_update: command not found" error on macOS when executing those commands. --- ci/travis/travis_install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ci/travis/travis_install.sh b/ci/travis/travis_install.sh index 75e05886..111b114f 100644 --- a/ci/travis/travis_install.sh +++ b/ci/travis/travis_install.sh @@ -2,6 +2,11 @@ set -ev +# RVM overrides the cd, popd, and pushd shell commands, causing the +# "shell_session_update: command not found" error on macOS when executing those +# commands. +unset -f cd popd pushd + #################### # OS-specific setup ####################