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
88968339
Commit
88968339
authored
Feb 10, 2014
by
Erik Michaels-Ober
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #507 from chrisseaton/jruby-9000-dev-check-java
Require Java 7 for jruby-9000-dev.
parents
c78eb9db
484782aa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
bin/ruby-build
+17
-0
share/ruby-build/jruby-9000-dev
+1
-0
No files found.
bin/ruby-build
View file @
88968339
...
...
@@ -576,6 +576,23 @@ fix_rbx_irb() {
true
}
require_java7
()
{
local
version
=
`
java
-version
2>&1
`
if
[
$?
-eq
0
]
then
if
[[
$version
==
*
1.[78]
*
]]
then
return
0
else
echo
"jruby-9000-dev requires Java 7 - please install a 1.7 compatible JRE, or ensure it is on your path"
return
1
fi
else
echo
"Couldn't execute Java - please install a 1.7 compatible JRE, or ensure it is on your path"
return
1
fi
}
require_gcc
()
{
local
gcc
=
"
$(
locate_gcc
||
true
)
"
...
...
share/ruby-build/jruby-9000-dev
View file @
88968339
require_java7
install_package "jruby-9000.dev" "http://ci.jruby.org/snapshots/master/jruby-dist-9000.dev-bin.tar.gz" jruby
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