Commit graph

611 commits

Author SHA1 Message Date
Erik Michaels-Ober
46720ecb0d ruby-build 20140110 2014-01-09 21:46:56 +01:00
Erik Michaels-Ober
f3bca658c7 Add JRuby 1.7.10 2014-01-09 21:46:53 +01:00
Erik Michaels-Ober
7fbe5af432 ruby-build 20131226 2014-01-07 16:43:04 +01:00
Mislav Marohnić
938b1a1790 Merge branch 'hooks'
Closes #368
2014-01-06 15:06:55 -08:00
Mislav Marohnić
eae699d642 Add tests for rbenv install/uninstall hooks 2014-01-05 18:59:23 +01:00
Mislav Marohnić
4d8319bde7 Call rbenv-* subcommands directly, not through the rbenv executable
Benefits:
- makes it easier to stub `rbenv-*` subcommands in tests
- speeds up subcommands because it skips the main `rbenv` executable

Caveats:
- users are no longer able to call `bin/rbenv-install` or
  `rbenv-uninstall` directly
2014-01-05 18:58:57 +01:00
Mislav Marohnić
501855c9ac Fix stubbing programs that have dashes in them 2014-01-05 18:58:57 +01:00
Mislav Marohnić
24ff49ccc0 Support rbenv hook paths that have spaces
Same approach taken in rbenv: sstephenson/rbenv@baf7656d
2014-01-05 18:58:57 +01:00
Yamashita Yuu
92b32f545b Add before/after hooks for rbenv uninstall 2014-01-05 18:58:57 +01:00
Erik Michaels-Ober
57d8918b49 Merge pull request #486 from arthurschreiber/arthur/add-rbx-2.2.3
Add Rubinius 2.2.3
2013-12-30 14:25:20 -08:00
Arthur Schreiber
e713a17f4f Add Rubinius 2.2.3 2013-12-30 23:15:48 +01:00
Erik Michaels-Ober
a0720a9530 Add Rubinius 2.2.2 2013-12-25 19:13:29 -05:00
Erik Michaels-Ober
69f8dcc8b7 ruby-build 20131225.1 2013-12-25 12:13:58 -05:00
Erik Michaels-Ober
9e76ceb8bf Revert "Rename 2.1.0 -> 2.1.0-p0"
This reverts commit 36b5f33e53.

See https://twitter.com/hsbt/status/415887230318567424.
2013-12-25 12:13:58 -05:00
SHIBATA Hiroshi
945553bbef fix some wrong name 2013-12-26 01:53:06 +09:00
Erik Michaels-Ober
7f398380ba ruby-build 20131225 2013-12-25 11:32:51 -05:00
Erik Michaels-Ober
36b5f33e53 Rename 2.1.0 -> 2.1.0-p0 2013-12-25 11:32:47 -05:00
Erik Michaels-Ober
089f911494 Unify tense in CHANGELOG 2013-12-25 11:13:30 -05:00
Erik Michaels-Ober
cd1e47b0df Merge pull request #479 from hsbt/release-2-1-0
Definitions of Ruby 2.1
2013-12-25 08:02:08 -08:00
SHIBATA Hiroshi
d228ce9ab3 added md5 2013-12-26 01:00:56 +09:00
Erik Michaels-Ober
000bedd2dc Merge pull request #477 from hsbt/heroku-support
Added definitions of Heroku's backports.
2013-12-22 18:41:34 -08:00
SHIBATA Hiroshi
b603d6ac9e use official ruby repository 2013-12-23 10:56:32 +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