diff options
| author | Jack Nagel | 2012-11-09 19:55:57 -0600 |
|---|---|---|
| committer | Jack Nagel | 2012-11-10 20:07:32 -0600 |
| commit | adee5315265cc46aa6a3057071527abb16e1cd94 (patch) | |
| tree | 80ea4344411d9a1526e1f72d8a86f71a6e5dbccd /Library/Formula/ruby-enterprise-edition.rb | |
| parent | f165096ba5ca617a9293d8b60282a75065b5935e (diff) | |
| download | homebrew-adee5315265cc46aa6a3057071527abb16e1cd94.tar.bz2 | |
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.
Diffstat (limited to 'Library/Formula/ruby-enterprise-edition.rb')
| -rw-r--r-- | Library/Formula/ruby-enterprise-edition.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/ruby-enterprise-edition.rb b/Library/Formula/ruby-enterprise-edition.rb index ed1e9b2fa..c089918b7 100644 --- a/Library/Formula/ruby-enterprise-edition.rb +++ b/Library/Formula/ruby-enterprise-edition.rb @@ -9,12 +9,12 @@ class RubyEnterpriseEdition < Formula option 'enable-shared', "Compile shared, but see caveats" - depends_on 'readline' + depends_on 'gnu-readline' fails_with :llvm def install - readline = Formula.factory('readline').prefix + readline = Formula.factory('gnu-readline').prefix args = ["--auto", prefix, '--no-tcmalloc'] args << '-c' << '--enable-shared' if build.include? 'enable-shared' |
