Commit Graph
59 Commits
Author SHA1 Message Date
Jeong Mok Cho 1734e5bfac ruby: disable docs unless "with-doc" is given
Closes #16060.

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

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 adee531526 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 #15776.
2012-11-10 20:07:32 -06:00
Sebastian Wyder 167de18e04 Ruby 1.9.3-p327
Closes #15944.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-11-09 20:03:45 -08:00
Jack Nagel 1b726f7e42 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 7c52c1d3bd Ruby 1.9.3p286
Closes #15427.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-12 10:39:59 -07:00
Jack Nagel 9c6ea53704 ruby: fix typo
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-16 20:17:32 -05:00
Adam Vandenberg 83b377167b Use env. 2012-09-14 09:14:48 -07:00
Adam Vandenberg 732a2f11c4 Ruby: remove skip_clean :all 2012-09-09 11:06:35 -07:00
Ed Robinson 266b63f532 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 #14770.
Closes #14814.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-09 11:05:30 -07:00
Jack Nagel c1da580a2a ruby: use options DSL
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-13 10:04:09 -05:00
Adam Vandenberg 1f32fa43a7 Use autotools symbols 2012-07-10 08:56:02 -07:00
Adam Vandenberg 3222ca143e Ruby: remove very old compatibility check 2012-05-15 22:11:13 -07:00
Jack Nagel 90c8b8a0f0 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 d4185d557b Remove redundant :using => :svn 2012-05-10 07:10:12 -07:00
Andrew Marshall 05299a4271 Ruby 1.9.3-p194
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-04-20 23:47:07 -07:00
Adam Vandenberg bf3dfa998d ruby: add gdbm dependency 2012-04-18 19:02:24 -07:00
Jack Nagel 497b13ac9e Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 12:39:59 -05:00
Robert Tully a808fc23dd ruby: Remove unrecognised configure flags.
Removed --disable-debug and --disable-dependency-tracking, which the configure script does not recognise.

Closes #10982.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-16 18:12:32 -07:00
Faisal N. Jawdat e9c2fd4518 ruby 1.9.3-p125
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-24 06:54:55 -08:00
Adam Vandenberg 7338ed6600 ruby: use install_symlink 2012-02-12 20:09:02 -08:00
Matthew King 40d670bba1 ruby: Remove unrecognized option
Closes #9082.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2011-12-10 23:08:00 -06:00
Adam Vandenberg 7c87e1f794 Ruby: remove some suggestions from the caveats 2011-11-26 16:55:51 -08:00
Michael Dippery 98cd2dd3a7 ruby: Update to 1.9.3
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-11-22 21:16:36 -08:00
Max Howell b6aa338e6f 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 fbb811b948 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 bd4fdb6506 ruby 1.9.2-p290 2011-07-26 16:10:23 -07:00
Adam Vandenberg 83ed49411f Use ARGV.build_universal? 2011-04-23 08:36:47 -07:00
Adam Vandenberg f4a925da5a Update fails_with_llvm in formulae 2011-03-25 23:31:30 -07:00
Adam Vandenberg 0476235ce0 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Mislav Marohnić f9fcdb650f ruby 1.9.2-p180
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-02-21 11:22:58 -08:00
Mislav Marohnić f282737d6f "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 a4e5dd50ce 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 773915df64 Cider was renamed to Cinderella
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-25 21:11:28 -07:00
Joshua Peek fa4b9ad65a 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 d5adf27d6a ruby - Move gems out of Cellar and into HOMEBREW_PREFIX 2010-08-20 11:51:00 -07:00
Faisal N. Jawdat 93d1fffddb --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 eda1dc183f 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 855648e006 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 d0efd9ee94 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 c8291e4bec Add RVM/cider caveats to alt. Rubies. 2010-07-20 07:24:39 -07:00
Adam Vandenberg 511d309374 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 c5d56bc501 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 72b946a567 ruby formula can install from 1.9.2 dev branch by using --HEAD flag 2010-05-29 12:45:06 +01:00
Adriano Bonat b381890298 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 83c91e492b Update Ruby to 1.9.1-p378
Closes #520
2010-01-24 12:33:07 +00:00
Lincoln Stoll e1b2feae07 Add an option to add a 1.9 suffix to ruby 2010-01-24 12:31:59 +00:00
Lon Baker 8b0d1802d1 Update ruby to 1.9.1-p376 release
This is a security release.
2009-12-22 03:28:59 +00:00
Max Howell 90ca0085e5 Warn users that gems can be troublesome with our formula 2009-12-02 12:41:23 +00:00
Max Howell e9b0a33562 Revert "Don't install gem or rake"
This reverts commit d0ed812b3d.

Fixes #129
2009-12-02 12:37:30 +00:00