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
47f1a288
Commit
47f1a288
authored
Dec 12, 2012
by
Sam Stephenson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switch the default mirror from GitHub Downloads to Amazon CloudFront
parent
c4b083e0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
4 deletions
+13
-4
CHANGELOG.md
+5
-0
README.md
+7
-3
bin/ruby-build
+1
-1
No files found.
CHANGELOG.md
View file @
47f1a288
## Version History
## Version History
#### HEAD
*
Moved the default ruby-build mirror from GitHub Downloads to Amazon
CloudFront.
*
Added a definition for Ruby 1.8.7-p371
#### 20121204
#### 20121204
*
Added a definition for JRuby 1.7.1
*
Added a definition for JRuby 1.7.1
...
...
README.md
View file @
47f1a288
...
@@ -148,9 +148,10 @@ each definition. (All bundled definitions include checksums.)
...
@@ -148,9 +148,10 @@ each definition. (All bundled definitions include checksums.)
### Package download mirrors
### Package download mirrors
ruby-build will first attempt to download package files from a mirror
ruby-build will first attempt to download package files from a mirror
hosted on Amazon S3. If a package is not available on the mirror, if
hosted on Amazon CloudFront. If a package is not available on the
the mirror is down, or if the download is corrupt, ruby-build will
mirror, if the mirror is down, or if the download is corrupt,
fall back to the official URL specified in the defintion file.
ruby-build will fall back to the official URL specified in the
defintion file.
You can point ruby-build to another mirror by specifying the
You can point ruby-build to another mirror by specifying the
`RUBY_BUILD_MIRROR_URL`
environment variable--useful if you'd like to
`RUBY_BUILD_MIRROR_URL`
environment variable--useful if you'd like to
...
@@ -163,6 +164,9 @@ download mirror and use official URLs instead. You can force
...
@@ -163,6 +164,9 @@ download mirror and use official URLs instead. You can force
ruby-build to bypass the mirror by setting the
ruby-build to bypass the mirror by setting the
`RUBY_BUILD_SKIP_MIRROR`
environment variable.
`RUBY_BUILD_SKIP_MIRROR`
environment variable.
The official ruby-build download mirror is sponsored by
[
37signals
](
http://37signals.com/
)
.
### Package download caching
### Package download caching
You can instruct ruby-build to keep a local cache of downloaded
You can instruct ruby-build to keep a local cache of downloaded
...
...
bin/ruby-build
View file @
47f1a288
...
@@ -583,7 +583,7 @@ else
...
@@ -583,7 +583,7 @@ else
fi
fi
if
[
-z
"
$RUBY_BUILD_MIRROR_URL
"
]
;
then
if
[
-z
"
$RUBY_BUILD_MIRROR_URL
"
]
;
then
RUBY_BUILD_MIRROR_URL
=
"http://
cloud.github.com/downloads/sstephenson/ruby-build-download-mirror
"
RUBY_BUILD_MIRROR_URL
=
"http://
dqw8nmjcqpjn7.cloudfront.net
"
else
else
RUBY_BUILD_MIRROR_URL
=
"
${
RUBY_BUILD_MIRROR_URL
%/
}
"
RUBY_BUILD_MIRROR_URL
=
"
${
RUBY_BUILD_MIRROR_URL
%/
}
"
fi
fi
...
...
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