Commit graph

923 commits

Author SHA1 Message Date
Mislav Marohnić
1bcd249ffa Avoid re-downloading if there's a valid tarball in build location
If there already exists a valid tarball in the build location, e.g. as
artefact of a previous install using `--keep`, don't re-download the
file, as there is no need.

References #487
2014-03-25 04:15:50 +01:00
Mislav Marohnić
a3009b4641 Fix re-downloading tarball when destination file already exists
Previously, curl and wget were instructed to try to resume the download
if the destination file already exists. This is supposed to be done via
the "Range" HTTP header, but doesn't work well with CloudFront:

    HTTP server doesn't seem to support byte ranges. Cannot resume.

CloudFront is supposed to support ranges, so I don't know what's going
on here. It might be failing only in case the existing file is a fully
downloaded tarball?

In any case, this disables resuming downloads and resorts to simply
re-downloading the tarball always, overwriting the existing file.

Fixes #487
2014-03-25 03:21:27 +01:00
Erik Michaels-Ober
556db9ab57 Revert "Add installation instructions for Arch Linux"
This reverts commit 6cf348e426. See
https://github.com/sstephenson/ruby-build/issues/526#issuecomment-37889552.
2014-03-18 14:20:09 +01:00
Erik Michaels-Ober
6cf348e426 Add installation instructions for Arch Linux
Closes https://github.com/sstephenson/ruby-build/issues/526.
2014-03-17 16:41:40 +01:00
Erik Michaels-Ober
276ef2ff14 Merge pull request #523 from brixen/master
Add Rubinius 2.2.6.
2014-03-12 01:07:48 +01:00
Brian Shirai
47e913f377 Add Rubinius 2.2.6. 2014-03-11 10:08:29 -05:00
Mislav Marohnić
ef2ff77dfa Merge pull request #518 from dpoggi/better-user-specified-definition-check
Fixes #517
2014-02-26 15:06:26 +01:00
Dan Poggi
7b62fcff58 Fixes check for user-specified definition
Better to use -f than -e to check for a user-specified definition file.
With -e, if the user accidentally types the name of a directory (or, far
less likely, a device file) with the same name as the Ruby they're
trying to install, they end up with ruby-build doing absolutely nothing
at best, or an error message that could be pretty confusing at worst.
2014-02-26 04:23:56 -05:00
Erik Michaels-Ober
a4853d5405 Fix typo in CHANGELOG [ci skip] 2014-02-26 11:09:51 +09:00
Erik Michaels-Ober
9951b22bcb ruby-build 20140225 v20140225 2014-02-26 11:06:40 +09:00
Mislav Marohnić
747d7978ee Merge branch 'graal'
Closes #514
2014-02-26 01:24:59 +01:00
Mislav Marohnić
ea481d2766 Add test for JRuby+Graal 2014-02-26 01:23:25 +01:00
Chris Seaton
dcdccd76e4 Add support for JRuby 9000 bundled with the Graal VM
JRuby 9000 (the next major release) includes a backend that supports a
new JVM JIT compiler called Graal. Graal is based on OpenJDK but hasn't
been released yet.

http://openjdk.java.net/projects/graal/
2014-02-26 01:23:04 +01:00
Christian Höltje
e1470752d7 OS X: Fixes check for OpenSSL version
We only care about Apple's OpenSSL when checking the version.  Any
other OpenSSL that happens to be in the PATH doesn't matter.
2014-02-25 19:04:36 -05:00
Erik Michaels-Ober
b1f3b1006a Merge pull request #515 from nirvdrum/jruby-1.7.11
Added a JRuby 1.7.11 recipe.
2014-02-26 05:49:14 +09:00
Kevin Menard
9789b00ddd Added a JRuby 1.7.11 recipe. 2014-02-25 12:59:37 -05:00
Erik Michaels-Ober
7710db5777 ruby-build 20140224.1 v20140224.1 2014-02-24 23:42:31 +09:00
SHIBATA Hiroshi
8b28be1e1a Merge branch 'release-211' 2014-02-24 21:40:27 +09:00
SHIBATA Hiroshi
ca5f31029d Merge branch 'release-200p451' 2014-02-24 21:40:19 +09:00
SHIBATA Hiroshi
4f81991bc1 added definition of Ruby 2.0.0-p451 2014-02-24 21:05:52 +09:00
Erik Michaels-Ober
089523b937 ruby-build 20140224 v20140224 2014-02-24 20:23:44 +09:00
SHIBATA Hiroshi
3df033cc5c added definition of Ruby 2.1.1 2014-02-24 17:21:29 +09:00
SHIBATA Hiroshi
6593ea493d Merge branch 'release-193p545' 2014-02-24 14:51:29 +09:00
SHIBATA Hiroshi
4a9fc55d64 Merge branch 'remove-libyaml-build' 2014-02-24 14:01:26 +09:00
SHIBATA Hiroshi
436735420c remove build of libyaml, because bundled libyaml is already updated 2014-02-24 13:02:19 +09:00
SHIBATA Hiroshi
9e56738347 added definition of Ruby 1.9.3-p545 2014-02-24 13:01:03 +09:00
Erik Michaels-Ober
49aaa8945a Merge pull request #511 from cmattson/java7-detection
Fix Java 7 detection
2014-02-18 08:05:15 +01:00
Colin Mattson
060f50fcd8 Improve Java 7 detection
Java on most (all?) platforms directs `-version` output to STDERR.
2014-02-17 19:44:49 -07:00
Mislav Marohnić
229bf9b0bf Merge pull request #510 from Red54/master
Add mruby 1.0.0.
2014-02-17 15:58:01 +01:00
謝致邦
ee01735b23 Add mruby 1.0.0. 2014-02-17 22:37:00 +08:00
Erik Michaels-Ober
36cb25d2a0 ruby-build 20140214 💘 v20140214 2014-02-14 09:49:06 +01:00
Erik Michaels-Ober
136d1f226a Merge pull request #508 from johnnyt/maglev
Update MagLev branch from master-1.9 to master
2014-02-14 09:44:28 +01:00
Erik Michaels-Ober
09d5d710d9 Merge pull request #504 from antifuchs/add-libyaml-to-2.x-rubies
Leaves rubies >= 2.0 vulnerable to CVE-2013-6393
2014-02-14 09:43:51 +01:00
JohnnyT
1604bb20fe Update MagLev branch from master-1.9 to master 2014-02-10 16:50:09 -07:00
Mislav Marohnić
1c6251073d Use colorize helper for require_gcc
Ensures that color is off if the stderr stream is not a terminal
2014-02-10 20:12:21 +01:00
Mislav Marohnić
047953e125 Simplify Java 7 detection and error message 2014-02-10 20:11:22 +01:00
Erik Michaels-Ober
8896833960 Merge pull request #507 from chrisseaton/jruby-9000-dev-check-java
Require Java 7 for jruby-9000-dev.
2014-02-10 16:49:28 +01:00
Chris Seaton
484782aa89 Require Java 7 for jruby-9000-dev. 2014-02-10 15:22:21 +00:00
Erik Michaels-Ober
c78eb9db6c ruby-build 20140210 v20140210 2014-02-10 12:53:30 +01:00
Erik Michaels-Ober
42f41b401e Make whitespace consistent across build definitions 2014-02-10 11:48:28 +01:00
Mislav Marohnić
e5ade82dd2 Merge pull request #506 from anthonator/master
Add support for rbx-2.2.5
2014-02-10 00:58:03 +01:00
Anthony Smith
f147a71bc3 Added support for rbx-2.2.5. 2014-02-09 18:23:14 -05:00
Erik Michaels-Ober
58e6617e1b Merge pull request #505 from chrisseaton/jruby-9000-dev
Add JRuby 9000 snapshot.
2014-02-09 23:34:03 +01:00
Chris Seaton
2c07eaf2d4 Add JRuby 9000 snapshot. 2014-02-09 15:25:42 +00:00
Andreas Fuchs
45067e752f Install libyaml 0.1.5 for 2.x rubies also
This should plug the vulnerability to CVE-2013-6393 (and fix #504)
that can still occur in certain systems: If the ruby build process
couldn't find a libyaml that worked, it would build its own vendored
libyaml, which was 0.1.4 (and is vulnerable).

Instead, specify that the build always should install the latest
libyaml & build against that.
2014-02-07 15:41:03 -08:00
Erik Michaels-Ober
26372ad82a Add warning about CVE-2013-6393 to CHANGELOG [ci skip]
Actually resolves https://github.com/sstephenson/ruby-build/issues/499.
2014-02-04 22:23:00 +01:00
Erik Michaels-Ober
cbc33aaa5f ruby-build 20140204 v20140204 2014-02-04 11:53:40 +01:00
Erik Michaels-Ober
63fc2c91b0 Update libyaml to version 0.1.5
Closes https://github.com/sstephenson/ruby-build/issues/499.
2014-02-04 11:51:46 +01:00
Erik Michaels-Ober
62f8e74c50 Add Rubinius 2.2.4 2014-02-03 12:21:49 +01:00
Mislav Marohnić
55bb34235b Merge pull request #493 from eric/add-make-install-opts-variables
Add MAKE_INSTALL_OPTS for packages
2014-01-29 14:47:34 -08:00