Commit graph

36 commits

Author SHA1 Message Date
Michael Dippery
c56ae1192b ruby: Update to 1.9.3
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-11-22 21:16:36 -08:00
Max Howell
6d5730fa2c Don't fails_with_llvm if MacOS.lion?
Not sure how I failed so badly at logic. This should be rewritten so that the build info has a tested MacOS version too. However it seems unlikely that the same LLVM versions on different platforms would have different compile errors. So we'll risk it, and it'll be informative for us too.
2011-09-02 12:12:30 +01:00
Max Howell
e2e44ffb82 Allow fails_with_llvm {}
And fix node and ruby to use LLVM without complaint with Xcode 4.1 and Lion.
2011-09-01 10:29:31 +01:00
Adam Vandenberg
443eca6c9b ruby 1.9.2-p290 2011-07-26 16:10:23 -07:00
Adam Vandenberg
1f31751977 Use ARGV.build_universal? 2011-04-23 08:36:47 -07:00
Adam Vandenberg
99b61b9a23 Update fails_with_llvm in formulae 2011-03-25 23:31:30 -07:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Mislav Marohnić
9a7f3e07bb ruby 1.9.2-p180
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-02-21 11:22:58 -08:00
Mislav Marohnić
fedbd0919a "ruby" formula: add "--universal" flag for arch=x86_64,i386
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-02-06 13:51:09 -08:00
Michael Dippery
c1dbeda365 ruby: Update to 1.9.2-p136
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2010-12-27 21:31:28 +00:00
Jamie Macey
b7d426169e Cider was renamed to Cinderella
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-25 21:11:28 -07:00
Joshua Peek
27d1d47596 Update ruby formula to use standard vendor and site paths
Signed-off-by: Adam Vandenberg <flangy@gmail.com>

* Put these in the HOMEBREW_PREFIX instead of the cellar, along
  with gems.
2010-08-20 19:59:17 -07:00
Adam Vandenberg
af2be6daaf ruby - Move gems out of Cellar and into HOMEBREW_PREFIX 2010-08-20 11:51:00 -07:00
Faisal N. Jawdat
e596624af1 --HEAD builds trunk instead of ruby 1.9.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-20 11:50:22 -07:00
Aku Kotkavuo
835715a638 Update formula ruby to 1.9.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>

* Use bz2 instead of tarball
2010-08-20 11:50:11 -07:00
Joshua Peek
79159bdbf1 Update Formula: ruby
Update ruby formula to 1.9.2

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-20 11:50:02 -07:00
Adam Vandenberg
7bd947eb0b Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00
Adam Vandenberg
0103ba1bc2 Add RVM/cider caveats to alt. Rubies. 2010-07-20 07:24:39 -07:00
Adam Vandenberg
8c56f544b7 Add ARGV.build_head? and use it.
This allows both "--HEAD" and "-H" to be used consistently, which was the
intention in the first place.
2010-07-16 09:09:39 -07:00
Adam Vandenberg
e1bb919734 Add "fails_with_llvm" to formula to document LLVM build breaks.
Replaced ENV.gcc_4_2 + comments with calls to "fails_with_llvm",
to specifically message to the user when a formula is known or suspected
to not build with LLVM. If the user specifies "--use-llvm", the message
will be displayed, but compilation will be tried anyway.

Since using LLVM is now an advanced/hidden feature instead of the
default on 10.6, we'll let the user try anyway (and submit patches
if things are now working.)
2010-06-16 11:50:36 -07:00
Faisal N. Jawdat
b45d93e89d ruby formula can install from 1.9.2 dev branch by using --HEAD flag 2010-05-29 12:45:06 +01:00
Adriano Bonat
f3d03e1a5c Adding the option "--with-doc" to install Ruby with documentation.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-05-19 16:07:01 -07:00
Aku Kotkavuo
7ff9f2e04e Update Ruby to 1.9.1-p378
Closes Homebrew/homebrew#520
2010-01-24 12:33:07 +00:00
Lincoln Stoll
e159e4b091 Add an option to add a 1.9 suffix to ruby 2010-01-24 12:31:59 +00:00
Lon Baker
8dc4c742df Update ruby to 1.9.1-p376 release
This is a security release.
2009-12-22 03:28:59 +00:00
Max Howell
afe6d84351 Warn users that gems can be troublesome with our formula 2009-12-02 12:41:23 +00:00
Max Howell
3d5c44bdae Revert "Don't install gem or rake"
This reverts commit d0ed812b3dfa94507ac3c6c9b4a8ec54c1f3251f.

Fixes Homebrew/homebrew#129
2009-12-02 12:37:30 +00:00
Max Howell
716dae1d28 Don't install gem or rake
Because the system comes with them. Having two of these is just complicated.
They are both gems themselves, so gem that is already installed manages them.

Optional flag to install them anyway.
2009-11-11 23:04:56 +00:00
Faisal N. Jawdat
f59a7ed021 ruby formula forces gcc, to work around llvm breakage 2009-11-09 15:44:39 -08:00
Aanand Prasad
f7bb85bcce Add readline dependency to Ruby 2009-10-19 04:02:49 +01:00
Max Howell
61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00
elliottcable
b966833a3e Building Ruby with pthread is bad practice.
Ruby is not natively threaded; there is absolutely no reason to build against
pthread unless you intend to link against libraries themselves built with
pthread (tcl/tk). More information: http://blogs.sun.com/prashant/entry/ruby_and_enable_pthreads
2009-09-22 13:21:54 -08:00
elliottcable
b66629b371 I can’t find an explanation of CFLAGS=-D_XOPEN_SOURCE=1, so I’m removing it.
As far as I can deduce, the source of that flag is in Dan Benjamin’s article,
here: http://hivelogic.com/articles/ruby-rails-leopard

However, he provides no explanation for its use, and did not respond to
commentors’ requests for said explanation; on top of that, I can find no useful
references anywhere else. Hence, removing it.
2009-09-22 13:18:38 -08:00
Max Howell
965eaf5159 Revert to Ruby 1.9
Old formulas are valid, but should be maintained in a separate branch if
that's what is needed.

The exact way we are going to do this is not yet agreed on.
2009-09-21 22:02:35 +01:00
Mike Enriquez
b6bc632994 Ruby 64-bit formula
Signed-off-by: Max Howell <max@methylblue.com>

I adapted our existing ruby formula using the best bits of them both.
2009-09-18 13:37:14 +01:00
Clinton R. Nixon
4f0d14b994 Ruby 1.9.1 formula 2009-09-14 20:33:46 +01:00