Commit graph

73 commits

Author SHA1 Message Date
Jack Nagel
fa5735952d ruby: modernize style 2013-04-12 00:26:10 -05:00
Jeong Mok Cho
bdfbfeb769 ruby: simplify configure options with "--with-tcltk"
Closes Homebrew/homebrew#19124.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-04-12 00:22:59 -05:00
Jeong Mok Cho
a9186f8621 ruby: "make install-doc" is not necessary
Closes Homebrew/homebrew#19120.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-04-11 02:08:45 -05:00
Samuel John
b68d66bd8e ruby: Disable dtrace on Xcode-only 2013-03-18 14:23:54 +01:00
Jack Nagel
2791ad5179 ruby: use superenv
env :std was added to this formula without a comment as to why it is
needed, and there appears to be nothing on the issue tracker. Having
used a superenv-built ruby without issue for a few days I am assuming it
was a mistake.

If it causes problems we can either fix them or re-add env :std with
appropriate documentation.
2013-02-27 18:42:26 -06:00
Erik Michaels-Ober
2a48039815 ruby 2.0.0-p0
Closes Homebrew/homebrew#18054.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-02-27 14:22:50 -06:00
Misty De Meo
c4c2ffd2b6 ruby 1.9.3-p392 2013-02-22 12:19:27 -06:00
Jack Nagel
8c66321835 ruby: use bzip tarball 2013-02-17 22:25:16 -06:00
Jack Nagel
88085b6f0b ruby: needs newer autoconf for universal build
Fixes Homebrew/homebrew#17640.
2013-02-06 19:35:03 -06:00
Jack Nagel
b7c3817b20 ruby: remove upstreamed patch 2013-02-06 19:27:26 -06:00
Sebastian Rabuini
500fca42fd ruby 1.9.3-p385
Closes Homebrew/homebrew#17634.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-02-06 19:26:56 -06:00
Christian Höltje
56d6cf75f0 ruby: use opt_prefix in caveats
The gem's bindir is available in the opt_prefix; use
that instead of the Cellar location in the caveat.

Closes Homebrew/homebrew#17315.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-01-26 11:30:18 -06:00
Adam Vandenberg
2dac7b89b1 ruby 1.9.3-p374 2013-01-18 11:59:36 -08:00
Sebastian Rabuini
e5b98e4ede ruby: Update to 1.9.3-p362
Closes Homebrew/homebrew#16757.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-12-27 14:14:00 -08:00
Jeong Mok Cho
f2305af21f ruby: disable docs unless "with-doc" is given
Closes Homebrew/homebrew#16060.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-11-14 15:08:08 -06:00
Jack Nagel
8c29982153 Revert "Rename readline to gnu-readline"
This reverts commit adee5315265cc46aa6a3057071527abb16e1cd94.

Turns out one of the "other things" is a dealbreaker.

We only create kegs using a formula's canonical name. However, we do not
check that this is the case when mapping existing kegs back to formula
objects, and thus a keg with a name that happens to be an alias can fool
Homebrew into thinking the canonically-named keg exists.

So anything that enumerates kegs and then tries to do stuff with the
resulting formula objects will just break. This is obviously worse than
the debugger being broken, so reverting this for the time being.
2012-11-10 21:12:26 -06:00
Jack Nagel
e2f9856882 Rename readline to gnu-readline
The Readline class clashes with the Readline module from the Ruby
stdlib. This has mostly worked, but with the recent debugging support's
integration of IRB, it is no longer possible for them to coexist. So we
need to rename it.

The implications of this are:

 - Anything that depends on readline will reinstall it as
   "gnu-readline". Anything already installed will continue to function.

 - "brew upgrade readline" will say "gnu-readline not installed", as
   "readline" is now an alias.

 - Probably other things.

So there are some downsides, but we will just have to deal with them.

Fixes Homebrew/homebrew#15776.
2012-11-10 20:07:32 -06:00
Sebastian Wyder
e5d70a7a4c Ruby 1.9.3-p327
Closes Homebrew/homebrew#15944.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-11-09 20:03:45 -08:00
Jack Nagel
f6df50ae75 ruby: upstream patch for shared library reference to _environ
Hey, we can compile vim against Ruby 1.9 now!

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-10-16 16:06:53 -05:00
Sebastian Wyder
660a4cb53a Ruby 1.9.3p286
Closes Homebrew/homebrew#15427.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-12 10:39:59 -07:00
Jack Nagel
05c756124a ruby: fix typo
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-16 20:17:32 -05:00
Adam Vandenberg
8af0e97014 Use env. 2012-09-14 09:14:48 -07:00
Adam Vandenberg
64c2b7f6a1 Ruby: remove skip_clean :all 2012-09-09 11:06:35 -07:00
Ed Robinson
1e2a41b7fe Ruby: make Tcl/Tk support optional.
Tcl/Tk support requires X11, which is optional on Mountain Lion.
Rather than requiring X11 for Ruby, make these components opt-in.

Fixes Homebrew/homebrew#14770.
Closes Homebrew/homebrew#14814.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-09 11:05:30 -07:00
Jack Nagel
6e6d5b3ffb ruby: use options DSL
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-13 10:04:09 -05:00
Adam Vandenberg
62fa0c4f42 Use autotools symbols 2012-07-10 08:56:02 -07:00
Adam Vandenberg
d299c10589 Ruby: remove very old compatibility check 2012-05-15 22:11:13 -07:00
Jack Nagel
a9f1d022ed ruby: autoconf dep for HEAD on Xcode 4.3
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-14 22:42:27 -05:00
Adam Vandenberg
2ab4fa3fae Remove redundant :using => :svn 2012-05-10 07:10:12 -07:00
Andrew Marshall
c4d9e2dc6a Ruby 1.9.3-p194
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-04-20 23:47:07 -07:00
Adam Vandenberg
ec07bdcf8c ruby: add gdbm dependency 2012-04-18 19:02:24 -07:00
Jack Nagel
64afeec6d4 Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 12:39:59 -05:00
Robert Tully
a0f2d706ec ruby: Remove unrecognised configure flags.
Removed --disable-debug and --disable-dependency-tracking, which the configure script does not recognise.

Closes Homebrew/homebrew#10982.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-16 18:12:32 -07:00
Faisal N. Jawdat
988172ad77 ruby 1.9.3-p125
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-24 06:54:55 -08:00
Adam Vandenberg
f0b1b3901c ruby: use install_symlink 2012-02-12 20:09:02 -08:00
Matthew King
87d07ac549 ruby: Remove unrecognized option
Closes Homebrew/homebrew#9082.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2011-12-10 23:08:00 -06:00
Adam Vandenberg
16d0bdb035 Ruby: remove some suggestions from the caveats 2011-11-26 16:55:51 -08:00
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