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
f69655d2
Commit
f69655d2
authored
Sep 06, 2011
by
Sam Stephenson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ruby-build 20110906
parent
95e8b564
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletions
+12
-1
bin/ruby-build
+12
-1
No files found.
bin/ruby-build
View file @
f69655d2
#!/usr/bin/env bash
RUBY_BUILD_VERSION
=
"20110906"
set
-E
exec
3<&2
# preserve original stderr at fd 3
...
...
@@ -128,8 +130,13 @@ use_gcc42_on_lion() {
fi
}
version
()
{
echo
"ruby-build
${
RUBY_BUILD_VERSION
}
"
}
usage
()
{
{
echo
"usage: ruby-build [-v|--verbose] definition prefix"
{
version
echo
"usage: ruby-build [-v|--verbose] definition prefix"
echo
" ruby-build --definitions"
}
>
&2
...
...
@@ -164,6 +171,10 @@ case "$1" in
list_definitions
exit
0
;;
"--version"
)
version
exit
0
;;
"-v"
|
"--verbose"
)
VERBOSE
=
true
shift
...
...
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