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
ad4a9fef
Commit
ad4a9fef
authored
Jun 15, 2018
by
Benoit Daloze
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support patches for TruffleRuby too
parent
50a06317
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
README.md
+2
-2
bin/ruby-build
+1
-1
No files found.
README.md
View file @
ad4a9fef
...
...
@@ -86,8 +86,8 @@ The build process may be configured through the following environment variables:
#### Applying Patches
Both
`rbenv install`
and
`ruby-build`
support the
`--patch`
(
`-p`
) flag to apply
a patch to the Ruby (/JRuby/Rubinius
) source code before building. Patches are
read from
`STDIN`
:
a patch to the Ruby (/JRuby/Rubinius
/TruffleRuby) source code before building.
Patches are
read from
`STDIN`
:
```
sh
# applying a single patch
...
...
bin/ruby-build
View file @
ad4a9fef
...
...
@@ -1154,7 +1154,7 @@ isolated_gem_install() {
apply_ruby_patch
()
{
local
patchfile
case
"
$1
"
in
ruby-
*
|
jruby-
*
|
rubinius-
*
)
ruby-
*
|
jruby-
*
|
rubinius-
*
|
truffleruby-
*
)
patchfile
=
"
$(
mktemp
"
${
TMP
}
/ruby-patch.XXXXXX"
)
"
cat
"
${
2
:-
-
}
"
>
"
$patchfile
"
...
...
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