Commit e9567fc8 authored by Mislav Marohnić's avatar Mislav Marohnić
Browse files

Merge pull request #737 from huerlisi/improve-upgrade-steps

Add 'cd -' to proposed steps to upgrade ruby-build
parents b0d254f2 f2a43c55
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -211,7 +211,7 @@ if [ "$STATUS" == "2" ]; then
      echo "  brew update && brew upgrade ruby-build"
    elif [ -d "${here}/.git" ]; then
      printf ":\n\n"
      echo "  cd ${here} && git pull"
      echo "  cd ${here} && git pull && cd -"
    else
      printf ".\n"
    fi
+1 −1
Original line number Diff line number Diff line
@@ -69,7 +69,7 @@ See all available versions with \`rbenv install --list'.

If the version you need is missing, try upgrading ruby-build:

  cd ${BATS_TEST_DIRNAME}/.. && git pull
  cd ${BATS_TEST_DIRNAME}/.. && git pull && cd -
OUT

  unstub ruby-build