Commit graph

175 commits

Author SHA1 Message Date
Erik Michaels-Ober
3f0576b9e0 ruby-build 20130901 2013-09-01 13:26:49 +01:00
Dirkjan Bussink
b002d92c4a Don't set the Rubinius gems directory to the prefix
This causes tricky issues with Bundler. Bundler assumes that the
configure gem path *only* contains gems. When using this configuration
option, this is not the case.

What happens is that Bundler then removes the path for the Ruby stdlib
from the load path, because it is located inside what is configured as
the gems directory. This then breaks for example Rails applications when
using ruby-build to build Rubinius.

Also see: https://github.com/rubinius/rubinius/issues/2544
2013-08-12 10:56:00 +02:00
Erik Michaels-Ober
1d254ef671 ruby-build 20130806 2013-08-06 08:43:06 +02:00
Erik Michaels-Ober
86daa42931 ruby-build 20130628
Closes #375.
2013-06-28 05:16:10 +02:00
Mislav Marohnić
ae6a8378d9 use Homebrew openssl if available
Fixes #343, references #367
2013-06-28 01:38:11 +02:00
katiepru
edf384653f making checksum comparison case insensitive 2013-06-19 21:19:51 -04:00
Sam Stephenson
d5663b780b Fix OpenSSL version pattern (#365) 2013-05-29 09:12:21 -05:00
Yi Gu
7d538a3fdd Treat the openssl 0.9.8(r|x) bundled with OS X as broken library. So the ruby-build will download and build the latest one. 2013-05-29 22:50:41 +09:00
Erik Michaels-Ober
1b170ee85a ruby-build 20130518 2013-05-18 05:52:58 -07:00
Erik Michaels-Ober
ff950802ef ruby-build 20130514 2013-05-14 23:35:18 -07:00
Cyril Mougel
3e61f76a67 Allow define RUBY_CONFIGURE_OPTS on rbx configure
The configure of rbx can take a RUBY_CONFIGURE_OPTS. You can by example
use the `--skip-prebuilt` OPTS
2013-05-07 23:09:35 +02:00
Sam Stephenson
b6f1d2498d Typo (#353) 2013-05-06 19:44:35 -05:00
Sam Stephenson
5c47714acd Avoid touching CFLAGS unless explicitly requested (#352) 2013-05-06 18:03:54 -05:00
Erik Michaels-Ober
9f8d53365a ruby-build 20130501 2013-05-01 07:38:43 -07:00
Jeremy Kemper
b219192020 Restore -O3 default when we build with clang 2013-04-26 15:06:43 -07:00
Sam Stephenson
353246926c Build REE --without-tk on Darwin if X11 is missing
Fixes #267
2013-04-19 11:46:13 -05:00
Sam Stephenson
5f12964089 Pass $RUBY_CONFIGURE_OPTS to REE installer with -c 2013-04-19 11:46:12 -05:00
Sam Stephenson
b4fd8e94e3 Extract sanitize helper 2013-04-19 11:46:12 -05:00
Sam Ruby
3064886674 Address some feedback from Jeremy
* Decrease likelihood of cache collisions
* Avoid file:// urls (and therefore the need to escape)
2013-04-19 11:46:12 -05:00
Sam Ruby
394d8aaa08 cache git clone directory
if RUBY_BUILD_CACHE_PATH is set, create and maintain a local bare git
repository in this location.  The name of the git repository is based
on the git URL, so it will be shared between branches.
2013-04-19 11:46:12 -05:00
Erik Michaels-Ober
5273fb325e ruby-build 20130408 2013-04-08 03:10:21 -07:00
Konstantin Haase
127cd1dcff add topaz-dev 2013-04-07 11:14:44 +02:00
Erik Michaels-Ober
73ad8ac371 Merge pull request #341 from statianzo/mruby
Added mruby
2013-04-06 04:53:49 -07:00
Sam Stephenson
c557723792 Mention homebrew/dupes/apple-gcc42 if Homebrew is installed 2013-04-05 12:19:39 -05:00
Jason Staten
b193b49c6b mruby-dev 2013-04-05 08:23:34 -06:00
Greg Price
9c3e1644e9 Better target the shorten-64-to-32 workaround (#325, #319)
The previous version of this logic was causing us to
pass the flag when
 * clang is on the PATH, and
 * $CC, or 'clang' if CC unset, accepts the flag.
But this is totally wrong if we have clang installed,
haven't set $CC, and are going to end up using gcc.
We end up passing the flag to gcc, which rejects it.

The real fix is to put this in the autoconf goo in MRI
upstream -- the only correct way to decide whether to pass
this flag is after we know exactly what compiler we're using
and can test if that compiler accepts the flag.  But we can
do better than before by approximating autoconf's choice of
compiler as $CC if set, 'cc' otherwise (which will typically
be a symlink to gcc or clang or another.)

Fixes: https://github.com/sstephenson/ruby-build/issues/319
  and #325, which is a dupe.
2013-04-01 19:21:17 -07:00
Erik Michaels-Ober
1fb955eead Merge pull request #326 from quark-zju/keep-downloaded-tarball
Keep downloaded tarball sometimes
2013-03-24 19:48:51 -07:00
Sam Stephenson
386b37613f rbenv install 1.9.3 lists matching definitions 2013-03-21 12:40:53 -05:00
WU Jun
3d2f1a7277 keep source tarball if '--keep' or 'tar xf' fails 2013-03-18 14:11:09 +08:00
WU Jun
d0912e4fb5 use --continue when downloading tarball 2013-03-12 16:40:13 +08:00
Erik Michaels-Ober
28bdf54ef4 ruby-build 20130227 2013-02-27 16:05:26 -08:00
Sam Stephenson
06d7994bcf Feature detection for -Wno-error=shorten-64-to-32 2013-02-27 12:45:26 -06:00
Sam Stephenson
e75dcd07fb Default Ruby CFLAGS to -Wno-error=shorten-64-to-32; don't set CC
Ref. #290, #311
2013-02-27 11:12:41 -06:00
Erik Michaels-Ober
84820db1c0 ruby-build 20130226 2013-02-26 08:40:13 -08:00
Jeremy Kemper
fee1e499fb Build a shared openssl to link to Ruby as a stopgap to fix build issues some people are having, pending understanding why static linking isn't working. 2013-02-25 12:45:08 -06:00
Erik Michaels-Ober
c59f4a7450 ruby-build 20130225 2013-02-25 02:04:04 -08:00
Jeremy Kemper
bdc7b4fbb6 Merge pull request #310 from znz/fix-exit-status-of-install-with-verbose
fix exit status of install with verbose
2013-02-24 20:42:27 -08:00
Jeremy Kemper
f6091b8b06 No need to rehash when using CAfile. Used for file-per-cert CApath hashing. 2013-02-24 20:24:19 -07:00
Jeremy Kemper
527e3e35ca Rename the CAfile to cert.pem since that's the hardcoded default.
$ strings ~/.rbenv/versions/2.0.0-rc2/openssl/lib/libcrypto.a |
  grep -B3 SSL_CERT_FILE
/Users/jeremy/.rbenv/versions/2.0.0-rc2/openssl/ssl/certs
/Users/jeremy/.rbenv/versions/2.0.0-rc2/openssl/ssl/cert.pem
SSL_CERT_DIR
SSL_CERT_FILE
2013-02-24 20:21:01 -07:00
Kazuhiro NISHIYAMA
f63cbf815a fix exit status of install with verbose 2013-02-25 11:43:36 +09:00
Erik Michaels-Ober
97fc5c55e5 ruby-build 20130224 2013-02-24 09:15:31 -08:00
Erik Michaels-Ober
1b196d79ec ruby-build 20130222 2013-02-22 10:44:38 -08:00
Alexander Staubo
77894a2802 Pass -q to curl to avoid loading user's potentially conflicting .curlrc. Related to #244. 2013-02-10 23:52:22 +01:00
Sam Stephenson
3c6fa3901c Allow building against a custom OpenSSL on OS X 2013-02-08 18:25:11 -06:00
Erik Michaels-Ober
5d36bc93bb ruby-build 20130208 2013-02-08 15:27:08 -08:00
Sam Stephenson
94add57f17 Include certs from /System/Library/Keychains/SystemRootCertificates.keychain 2013-02-08 17:20:25 -06:00
Sam Stephenson
243e6fbecf Support conditional package installation with --if <test> 2013-02-08 16:48:02 -06:00
Jeremy Kemper
3a426d13b7 Rely on OpenSSL to pick the right arch. Hint that we prefer 64-bit. 2013-02-08 14:55:52 -07:00
Jeremy Kemper
92635abd51 Be sure to use c_rehash from the OpenSSL build we just installed 2013-02-08 14:51:57 -07:00
Sam Stephenson
81da19cde8 Use $RUBY_BIN 2013-02-08 15:32:27 -06:00