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
aacb3afe
Commit
aacb3afe
authored
Oct 19, 2011
by
Sam Stephenson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better error and progress messages
parent
4fbb207e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
TODO
+2
-2
libexec/ruby-package-fetch
+1
-0
libexec/ruby-package-install
+3
-0
No files found.
TODO
View file @
aacb3afe
Binary packages
---------------
*
Better error messages
*
Show 'Downloading' and 'Installing' messages a la ruby-build
X
Better error messages
X
Show 'Downloading' and 'Installing' messages a la ruby-build
* Rewrite RbConfig::CONFIG['CC'] on install
* Patch rbx since the rewriter doesn't work there
* rbenv-install should check for binary packages before building
libexec/ruby-package-fetch
View file @
aacb3afe
...
...
@@ -64,6 +64,7 @@ if [ -n "$check" ]; then
}
>
&2
else
package_filename
=
"
${
TMPDIR
}
/
${
package_name
}
.
$$
"
echo
"Downloading
$package_url
..."
>
&2
download
"
$package_url
"
"
$package_filename
"
||
{
echo
"error: couldn't fetch package
\`
$package
' (
$package_url
)"
exit
1
...
...
libexec/ruby-package-install
View file @
aacb3afe
...
...
@@ -37,5 +37,8 @@ fi
trap
cleanup_packages SIGINT SIGTERM EXIT
package_root
=
"
$(
ruby-package unpack
"
$package_file
"
)
"
package_name
=
"
$(
cat
"
${
package_root
}
/metadata/package"
)
"
echo
"Installing
${
package_name
}
..."
>
&2
"
${
package_root
}
/bin/ruby-package-install"
"
$destination
"
echo
"Installed
${
package_name
}
to
${
destination
}
"
>
&2
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