mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-10-22 22:00:23 +02:00
Merge pull request #737 from huerlisi/improve-upgrade-steps
Add 'cd -' to proposed steps to upgrade ruby-build
This commit is contained in:
commit
e9567fc8b4
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue