Commit graph

575 commits

Author SHA1 Message Date
Mislav Marohnić
57cb1e98c6 ruby-build 20131211 v20131211 2013-12-12 00:42:15 +01:00
Mislav Marohnić
00d851afbb URL hack to fix recognizing that Topaz archive is bz2
On OS X and some other platforms it doesn't matter, as `tar`
automatically detects the compression method, but on platforms that
don't it's important to declare the archive format. For ordinary
tarballs the extension provides this info, but since Topaz archive
doesn't have an extension in the URL, we add a fake one via a dummy
query string parameter.

Fixes #357
2013-12-12 00:20:44 +01:00
Mislav Marohnić
94c15a54f0 Auto-detect and link to Homebrew's readline
I thought this was not necessary, but a number of people had problems
when linking to OS X's "readline" (actually Editline wrapper):

- Some components of Pry wouldn't work
- Writing literal Unicode characters was not possible #379
- The compilation would downright fail in some cases #82 #461

Fixes #461
2013-12-12 00:03:47 +01:00
Mislav Marohnić
6f9647d7de Fix irb on rbx-2.2.1
Install the missing `rubysl-tracer` gem

References rubinius/rubinius#2780
2013-12-11 18:38:53 +01:00
Mislav Marohnić
392679a7fb Fix irb, rake, rdoc, ri for rbx-2.2.1
We symlink Rubinius' `PREFIX/gems/bin` into `PREFIX/bin` so that new
RubyGems binstubs get added to the main bin directory and therefore
become available to rbenv.

However, by throwing away `irb`, `rake`, `rdoc`, and `ri` binstubs
during this process (which are non-executable and have an invalid
shebang), we break the same commands in latest versions of Rubinius.

This change ensures that these binstubs get preserved, their shebang
corrected to `#!PREFIX/bin/rbx`, their executable bit flipped on, and
copied over to the main bin directory.

Fixes #468
2013-12-11 18:38:49 +01:00
Erik Michaels-Ober
a2d9ac49d1 ruby-build 20131206 v20131206 2013-12-07 10:15:04 +01:00
Erik Michaels-Ober
b4e83c73a5 Merge pull request #467 from robertrolandorg/jruby-1.7.9
Add JRuby 1.7.9 to rbenv
2013-12-07 01:09:59 -08:00
Rob Roland
2186fd74e3 Add JRuby 1.7.9 to rbenv 2013-12-07 01:08:26 -08:00
Sam Stephenson
f758900a28 Merge pull request #463 from cheerful/heroku-1.8.7-p375
Add definition for heroku-patched 1.8.7-p375
2013-11-25 13:41:05 -08:00
Thomas Fuchs
4a5d9b3610 Add definition for heroku-patched 1.8.7-p375
This build is an unofficial backport of the patch for
"Heap Overflow in Floating Point Parsing (CVE-2013-4164)"
to Ruby 1.8.7-p374.

The defnitoin refers to a tarball of this tag:
https://github.com/heroku/ruby/releases/tag/v1_8_7_375
2013-11-25 16:24:51 -05:00
Sam Stephenson
458d333167 ruby-build 20131122.1 v20131122.1 2013-11-22 19:13:46 -06:00
Sam Stephenson
5556926ab6 Ensure $LDFLAGS directories exist for 2.1.0-preview2
Ref. #458

Cf. 50bf60f9c2
2013-11-22 19:13:29 -06:00
Sam Stephenson
2956f58488 Merge pull request #458 from samgranieri/master
Update 2.1.0-preview2
2013-11-22 16:51:22 -08:00
Sam Granieri
fa41601dac Update 2.1.0-preview2
Typo fixed
2013-11-22 18:20:30 -06:00
Sam Stephenson
5ae03b8394 ruby-build 20131122 v20131122 2013-11-22 17:30:31 -06:00
SHIBATA Hiroshi
02b75a33d9 Added definition of 2.1.0-preview2 2013-11-23 07:31:36 +09:00
Mislav Marohnić
dc6239175a Merge branch 'rbx-ruby-18' 2013-11-22 15:01:32 +01:00
Mislav Marohnić
2fa587bcfe Fix installing Rubinius 2.0 with Ruby 1.8
Fixes #429, references rubinius/rubinius#2693
2013-11-22 14:23:44 +01:00
Jeremy Kemper
9b44aa9a16 Merge pull request #455 from knightq/master
Adds ruby 1.9.3-p484 and ruby 2.0.0-p353 definitions
2013-11-21 23:33:16 -08:00
Andrea Salicetti
4e0be855fc Adds definition for ruby-2.0.0-p353 2013-11-22 08:25:08 +01:00
Andrea Salicetti
949cc1070d Adds ruby 1.9.3-p484 definition 2013-11-22 08:17:07 +01:00
SHIBATA Hiroshi
cac12e49ea fix old links 2013-11-22 14:10:31 +09:00
SHIBATA Hiroshi
1f86c0504c added definition for 1.9.3-p484 and 2.0.0-p353 2013-11-22 14:04:45 +09:00
Erik Michaels-Ober
a97cc91650 Merge pull request #452 from johnbellone/master
Add rbx 2.2.0 and 2.2.1 definitions.
2013-11-18 01:30:45 -08:00
John Bellone
54ca76ea37 Add rbx 2.2.0 and 2.2.1 definitions. 2013-11-17 22:02:10 -05:00
Erik Michaels-Ober
49c1070495 ruby-build 20131115 v20131115 2013-11-15 16:05:55 +02:00
Erik Michaels-Ober
5b263ef553 Merge pull request #450 from ketan/jruby-1.7.8
Add definition for jruby-1.7.8
2013-11-14 22:59:50 -08:00
Ketan Padegaonkar
75d34ddad8 Create jruby-1.7.8 2013-11-15 09:39:46 +05:30
Mislav Marohnić
bfe862d761 Merge pull request #449 from deepj/master
Add a definition for JRuby 1.7.7
2013-11-14 15:43:53 -08:00
deepj
c82f6b2b07 Add a definition for JRuby 1.7.7 2013-11-14 22:45:21 +01:00
Kelley Reynolds
35f9c62d1d Handle the case when there is no processor info in /proc/cpuinfo
`grep -c` would correctly output "0", which is handled specially later
on, but would also exit with a nonzero status which would abort the
script. Piping the output to `wc` to do the counting makes the exit
status of grep irrelevant.

Fixes #447
2013-11-13 16:30:11 +01:00
Mislav Marohnić
bc9adfdd5d Demonstrate that one can use RUBY_CONFIGURE to apply a patch
References #443
2013-10-30 13:05:49 +01:00
Mislav Marohnić
cb33dc8f6a ruby-build 20131030 v20131030 2013-10-30 02:45:06 +01:00
Mislav Marohnić
7c8d92f708 Update CHANGELOG 2013-10-30 02:44:21 +01:00
Mislav Marohnić
638f28b52b Merge branch 'rbx-build' 2013-10-30 01:24:47 +01:00
Mislav Marohnić
8b6616b8a7 Install the Rubinius bundle in isolation
Makes sure that installing Rubinius won't touch other gems outside the
build directory.
2013-10-29 14:13:34 +01:00
Mislav Marohnić
c0dc8908e1 Fix false "BUILD FAILED" message when installing Rubinius
Installing Rubinius would print "BUILD FAILED" at the `bundle` step but
the installation would proceed nevertheless and finish successfully.

It turns out that the `command ...` expression will trigger the ERR trap
on failure even when it's a part of `||` list or a condition inside an
`if` statement. This defies how the ERR trap is supposed to work, so the
workaround is to execute it in a subshell which doesn't inherit the ERR
trap of its parent.
2013-10-29 14:03:26 +01:00
Mislav Marohnić
8e16aab892 Fix installing REE on OS X 10.8+ with no XQuartz
This is a regression introduced by
d13ae0ad52

References #267
2013-10-29 01:39:28 +01:00
Mislav Marohnić
4ed38ba4bc Run mirror update on CI even if tests failed
If a commit introduced a new Ruby definition, we want it mirrored even
if there might have been an accidental failure on CI.
2013-10-28 02:25:08 +01:00
Mislav Marohnić
e8a3cc82e3 Avoid processing duplicate URLs in mirror script 2013-10-28 02:24:18 +01:00
Mislav Marohnić
64726421f9 ruby-build 20131028 v20131028 2013-10-28 01:17:20 +01:00
Mislav Marohnić
7c12833fef Update CHANGELOG 2013-10-28 01:17:08 +01:00
Mislav Marohnić
8270aaa383 Merge branch 'tmpdir-noexec' 2013-10-28 00:59:48 +01:00
Mislav Marohnić
00fcf8b504 Bash here-document doesn't work with non-executable TMPDIR
Fixes https://travis-ci.org/sstephenson/ruby-build/builds/13131225
2013-10-28 00:55:35 +01:00
Mislav Marohnić
d9cd8a1ae3 Abort early if TMPDIR is non-writable or non-executable
Fixes #148
2013-10-28 00:44:15 +01:00
Mislav Marohnić
1173e8c095 Merge branch 'auto-tcltk' 2013-10-28 00:27:02 +01:00
Mislav Marohnić
d13ae0ad52 Enable compiling Ruby 1.8 on OS X 10.8+ without extra flags
Because OS X Mountain Lion removed X Windows, compiling Ruby 1.8 would
fail unless the user installed XQuartz manually and passed:

    CPPFLAGS=-I/opt/X11/include rbenv install 1.8.7-p374

This auto-detects if `/opt/X11/include` is present on the system and
configures CPPFLAGS accordingly. However if XQuartz was never installed,
we simply configure Ruby using `--without-tk`.

Fixes #193 #207

References 353246926c
2013-10-28 00:25:02 +01:00
Mislav Marohnić
805051fbdc Merge branch 'num-cpu-cores' 2013-10-27 22:36:24 +01:00
Mislav Marohnić
6c08c56d3a Detect number of CPU cores used for make
Alt. implementation of #401, #434
2013-10-27 22:24:12 +01:00
Mislav Marohnić
50bf60f9c2 Really fix installing Ruby 2.1.0 from trunk
The problem wasn't in quoting as per 0b5206172, but in the fact that
Ruby trunk added a LDFLAGS checker that aborts if any of the paths
listed in it are missing:
3636f8c0f5

This is probably a bug in Ruby, but for now a simple workaround is to
iterate through paths in LDFLAGS and ensure they exist.

References #441
2013-10-27 21:32:18 +01:00