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
5fd4ec64
Commit
5fd4ec64
authored
Jan 29, 2013
by
Sam Stephenson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
`rbenv install` with no arguments defaults to `rbenv local`
parent
36b2d13b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
bin/rbenv-install
+6
-0
No files found.
bin/rbenv-install
View file @
5fd4ec64
...
@@ -66,7 +66,13 @@ for option in "${OPTIONS[@]}"; do
...
@@ -66,7 +66,13 @@ for option in "${OPTIONS[@]}"; do
done
done
unset
VERSION_NAME
unset
VERSION_NAME
# The first argument contains the definition to install. If the
# argument is missing, try to install whatever local app-specific
# version is specified by rbenv. Show usage instructions if a local
# version is not specified.
DEFINITION
=
"
${
ARGUMENTS
[0]
}
"
DEFINITION
=
"
${
ARGUMENTS
[0]
}
"
[
-n
"
$DEFINITION
"
]
||
DEFINITION
=
"
$(
rbenv
local
2>/dev/null
||
true
)
"
[
-n
"
$DEFINITION
"
]
||
usage 1
[
-n
"
$DEFINITION
"
]
||
usage 1
...
...
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