Commit graph

25 commits

Author SHA1 Message Date
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