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
f4a34da8
Commit
f4a34da8
authored
Dec 20, 2013
by
Mislav Marohnić
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add examples how to use the `--patch` option to the Readme
[ci skip]
parent
dc1a7759
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
README.md
+19
-0
No files found.
README.md
View file @
f4a34da8
...
@@ -123,6 +123,25 @@ You can set certain environment variables to control the build process.
...
@@ -123,6 +123,25 @@ You can set certain environment variables to control the build process.
make options for buildling MRI. These variables will be passed to Ruby only,
make options for buildling MRI. These variables will be passed to Ruby only,
not any dependent packages (e.g. libyaml).
not any dependent packages (e.g. libyaml).
### Applying patches to Ruby before compiling
Both
`rbenv install`
and
`ruby-build`
support the
`--patch`
(
`-p`
) flag that
signals that a patch from stdin should be applied to Ruby, JRuby, or Rubinius
source code before the
`./configure`
and compilation steps.
Example usage:
```
sh
# applying a single patch
$
rbenv install
--patch
1.9.3-p429 < /path/to/ruby.patch
# applying a patch from HTTP
$
rbenv install
--patch
1.9.3-p429 < <
(
curl
-sSL
http://git.io/ruby.patch
)
# applying multiple patches
$
cat
fix1.patch fix2.patch | rbenv install
--patch
1.9.3-p429
```
### Checksum verification
### Checksum verification
If you have the
`md5`
,
`openssl`
, or
`md5sum`
tool installed, ruby-build will
If you have the
`md5`
,
`openssl`
, or
`md5sum`
tool installed, ruby-build will
...
...
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