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
81901adf
Commit
81901adf
authored
Aug 02, 2011
by
Sam Stephenson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1 from sstephenson/jruby
Add JRuby 1.6.3
parents
8ef76b19
45b5a9d6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
bin/ruby-build
+9
-0
versions/jruby-1.6.3
+17
-0
No files found.
bin/ruby-build
View file @
81901adf
...
...
@@ -13,6 +13,7 @@ install_package() {
extract_package
"
$package_name
"
cd
"
$package_name
"
build_package
"
$package_name
"
$*
after_install_package
"
$package_name
"
cd
"
$cwd
"
}
...
...
@@ -65,6 +66,14 @@ build_package_ruby() {
}
>
$LOG_PATH
2>&1
}
build_package_copy
()
{
cp
-R
.
"
$PREFIX_PATH
"
}
after_install_package
()
{
local
stub
=
1
}
usage
()
{
echo
"usage: ruby-build DEFINITION-PATH INSTALLATION-PREFIX"
exit
1
...
...
versions/jruby-1.6.3
0 → 100644
View file @
81901adf
after_install_package() {
shim_jruby
remove_windows_files
}
shim_jruby() {
cd "${PREFIX_PATH}/bin"
sed -i "" 's/^#!\/bin\/bash/#!\/usr\/bin\/env bash/' jruby
ln -fs jruby ruby
}
remove_windows_files() {
cd "$PREFIX_PATH"
rm -f bin/*.exe bin/*.dll bin/*.bat bin/jruby.sh
}
install_package "jruby-1.6.3" "http://jruby.org.s3.amazonaws.com/downloads/1.6.3/jruby-bin-1.6.3.tar.gz" copy
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