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
1f7fb91c
Commit
1f7fb91c
authored
Dec 08, 2015
by
SHIBATA Hiroshi
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #843 from chulkilee/fix-urls
update urls to rbenv
parents
d65e2d10
866dacc0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
bin/rbenv-install
+1
-1
test/version.bats
+2
-2
No files found.
bin/rbenv-install
View file @
1f7fb91c
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
#
#
# For detailed information on installing Ruby versions with
# For detailed information on installing Ruby versions with
# ruby-build, including a list of environment variables for adjusting
# ruby-build, including a list of environment variables for adjusting
# compilation, see: https://github.com/
sstephenson
/ruby-build#usage
# compilation, see: https://github.com/
rbenv
/ruby-build#usage
#
#
set
-e
set
-e
[
-n
"
$RBENV_DEBUG
"
]
&&
set
-x
[
-n
"
$RBENV_DEBUG
"
]
&&
set
-x
...
...
test/version.bats
View file @
1f7fb91c
...
@@ -14,7 +14,7 @@ static_version="$(grep VERSION "$bats_bin" | head -1 | cut -d'"' -f 2)"
...
@@ -14,7 +14,7 @@ static_version="$(grep VERSION "$bats_bin" | head -1 | cut -d'"' -f 2)"
@test "ruby-build git version" {
@test "ruby-build git version" {
stub git \
stub git \
'remote -v : echo origin https://github.com/
sstephenson
/ruby-build.git' \
'remote -v : echo origin https://github.com/
rbenv
/ruby-build.git' \
"describe --tags HEAD : echo v1984-12-gSHA"
"describe --tags HEAD : echo v1984-12-gSHA"
run ruby-build --version
run ruby-build --version
assert_success "ruby-build 1984-12-gSHA"
assert_success "ruby-build 1984-12-gSHA"
...
@@ -23,7 +23,7 @@ static_version="$(grep VERSION "$bats_bin" | head -1 | cut -d'"' -f 2)"
...
@@ -23,7 +23,7 @@ static_version="$(grep VERSION "$bats_bin" | head -1 | cut -d'"' -f 2)"
@test "git describe fails" {
@test "git describe fails" {
stub git \
stub git \
'remote -v : echo origin https://github.com/
sstephenson
/ruby-build.git' \
'remote -v : echo origin https://github.com/
rbenv
/ruby-build.git' \
"describe --tags HEAD : echo ASPLODE >&2; exit 1"
"describe --tags HEAD : echo ASPLODE >&2; exit 1"
run ruby-build --version
run ruby-build --version
assert_success "ruby-build ${static_version}"
assert_success "ruby-build ${static_version}"
...
...
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