Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
ruby-build
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ruby-build
Commits
e9567fc8
Commit
e9567fc8
authored
Apr 14, 2015
by
Mislav Marohnić
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #737 from huerlisi/improve-upgrade-steps
Add 'cd -' to proposed steps to upgrade ruby-build
parents
b0d254f2
f2a43c55
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
bin/rbenv-install
+1
-1
test/rbenv.bats
+1
-1
No files found.
bin/rbenv-install
View file @
e9567fc8
...
@@ -211,7 +211,7 @@ if [ "$STATUS" == "2" ]; then
...
@@ -211,7 +211,7 @@ if [ "$STATUS" == "2" ]; then
echo
" brew update && brew upgrade ruby-build"
echo
" brew update && brew upgrade ruby-build"
elif
[
-d
"
${
here
}
/.git"
]
;
then
elif
[
-d
"
${
here
}
/.git"
]
;
then
printf
":
\n\n
"
printf
":
\n\n
"
echo
" cd
${
here
}
&& git pull"
echo
" cd
${
here
}
&& git pull
&& cd -
"
else
else
printf
".
\n
"
printf
".
\n
"
fi
fi
...
...
test/rbenv.bats
View file @
e9567fc8
...
@@ -69,7 +69,7 @@ See all available versions with \`rbenv install --list'.
...
@@ -69,7 +69,7 @@ See all available versions with \`rbenv install --list'.
If the version you need is missing, try upgrading ruby-build:
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
OUT
unstub ruby-build
unstub ruby-build
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment