Commit graph

590 commits

Author SHA1 Message Date
SHIBATA Hiroshi
d228ce9ab3 added md5 2013-12-26 01:00:56 +09:00
SHIBATA Hiroshi
b971d6bacd preparation of Ruby 2.1 2013-12-22 19:05:09 +09:00
Mislav Marohnić
963d33f5e6 ruby-build 20131220.1 2013-12-21 02:20:46 +01:00
Mislav Marohnić
09e55a8b96 Merge branch 'jruby-sed'
Closes #476
2013-12-21 02:18:05 +01:00
Mislav Marohnić
9effc7a670 Thorougly test JRuby install process 2013-12-21 02:09:56 +01:00
Phil Smith
85b64c4a52 Fix JRuby install on systems with non-BSD sed
There doesn't seem to be a way to construct a sed invocation for
in-place editing that is compatible with both BSD and GNU sed.

http://stackoverflow.com/q/5694228/11687

Fixes #475
2013-12-21 02:07:06 +01:00
Mislav Marohnić
578f0c5c1c ruby-build 20131220 2013-12-20 19:28:36 +01:00
Thomas Seliger
76b632892b Transform JRuby shebangs to absolute paths, fixing recursion within rbenv
The default shebang for binstubs in a JRuby installation is
`#!/usr/bin/env jruby`. On a rbenv-managed JRuby, this will execute the
`jruby` rbenv shim. In a situation where a JRuby tool like `gem` is
executed from within a running rbenv by a rbenv plugin, (e.g.
rbenv-gemset) this can trigger another rbenv run to resolve the shim.
This can lead to endless recursion of rbenv calls.

Fixes #471, closes #473
References jf/rbenv-gemset#56
2013-12-20 19:23:36 +01:00
Mislav Marohnić
8ebfd1d0a9 Merge branch 'apply-patch'
Closes #469
2013-12-20 19:07:34 +01:00
Mislav Marohnić
f4a34da868 Add examples how to use the --patch option to the Readme
[ci skip]
2013-12-20 19:06:50 +01:00
Mislav Marohnić
379cd32a49 Merge pull request #474 from havenwood/2.1.0-rc1
Add ruby-2.1.0-rc1.
2013-12-20 09:50:07 -08:00
Shannon Skipper
0deaa4001d Add ruby-2.1.0-rc1. 2013-12-20 09:16:40 -08:00
Mislav Marohnić
57cb1e98c6 ruby-build 20131211 2013-12-12 00:42:15 +01:00
Mislav Marohnić
dc1a77590c Clarify which rbenv install flags get forwarded to ruby-build 2013-12-12 00:35:31 +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ć
2d6d676586 Shorten rbenv install usage synopsis
It was getting out of hand, so just use the single-character flags which
are documented below anyway.
2013-12-11 21:33:32 +01:00
Mislav Marohnić
4351c46923 Add --patch flag to apply a Ruby patch from stdin
If `-p|--patch` flag was set while invoking `ruby-build` or
`rbenv install`, ruby-build will use `patch -p0 -i -` to apply a patch
from stdin to Ruby, Rubinius, or JRuby source code before running the
rest of `build_package_*` commands.

References #443
2013-12-11 21:16: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 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 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 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 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 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