diff options
| author | Jack Nagel | 2014-02-05 20:37:36 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-02-05 20:38:39 -0500 |
| commit | 01dce2283a1bb33f4be89d1d27fc2ffe4f7827e1 (patch) | |
| tree | 8fdeec62481081da763f548d55650de0b5c1a6d3 /Library | |
| parent | 664444515fd49d673e0f4203ff80e9194f8df893 (diff) | |
| download | homebrew-01dce2283a1bb33f4be89d1d27fc2ffe4f7827e1.tar.bz2 | |
ruby: always use Homebrew openssl
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/ruby.rb | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/Library/Formula/ruby.rb b/Library/Formula/ruby.rb index 78ccb99d3..89dbe24b2 100644 --- a/Library/Formula/ruby.rb +++ b/Library/Formula/ruby.rb @@ -19,7 +19,7 @@ class Ruby < Formula depends_on 'readline' => :recommended depends_on 'gdbm' => :optional depends_on 'libyaml' - depends_on 'openssl' if MacOS.version >= :mountain_lion + depends_on 'openssl' depends_on :x11 if build.with? 'tcltk' fails_with :llvm do @@ -35,14 +35,7 @@ class Ruby < Formula args << "--with-out-ext=tk" unless build.with? "tcltk" args << "--disable-install-doc" unless build.with? "doc" args << "--disable-dtrace" unless MacOS::CLT.installed? - - # OpenSSL is deprecated on OS X 10.8 and Ruby can't find the outdated - # version (0.9.8r 8 Feb 2011) that ships with the system. - # See discussion https://github.com/sstephenson/ruby-build/issues/304 - # and https://github.com/Homebrew/homebrew/pull/18054 - if MacOS.version >= :mountain_lion - args << "--with-opt-dir=#{Formula.factory('openssl').opt_prefix}" - end + args << "--with-opt-dir=#{Formula.factory('openssl').opt_prefix}" # Put gem, site and vendor folders in the HOMEBREW_PREFIX ruby_lib = HOMEBREW_PREFIX/"lib/ruby" |
