aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/postgresql.rb
diff options
context:
space:
mode:
authorJack Nagel2014-12-25 14:34:07 -0500
committerJack Nagel2014-12-25 14:34:43 -0500
commit509dc245f9b9b6471fe1ce04f7b8dd2ea174f995 (patch)
tree13277d14356d62ef44828a6ebfe47448b475cf74 /Library/Formula/postgresql.rb
parent64509060e2f233a46a1ce11a4344174c3796e403 (diff)
downloadhomebrew-509dc245f9b9b6471fe1ce04f7b8dd2ea174f995.tar.bz2
postgresql: drop questionable gem installation caveats
Diffstat (limited to 'Library/Formula/postgresql.rb')
-rw-r--r--Library/Formula/postgresql.rb15
1 files changed, 1 insertions, 14 deletions
diff --git a/Library/Formula/postgresql.rb b/Library/Formula/postgresql.rb
index 24ee95e5d..64295aecf 100644
--- a/Library/Formula/postgresql.rb
+++ b/Library/Formula/postgresql.rb
@@ -80,8 +80,7 @@ class Postgresql < Formula
end
end
- def caveats
- s = <<-EOS.undent
+ def caveats; <<-EOS.undent
If builds of PostgreSQL 9 are failing and you have version 8.x installed,
you may need to remove the previous version first. See:
https://github.com/Homebrew/homebrew/issues/2510
@@ -89,18 +88,6 @@ class Postgresql < Formula
To migrate existing data from a previous major version (pre-9.4) of PostgreSQL, see:
http://www.postgresql.org/docs/9.4/static/upgrading.html
EOS
-
- s << "\n" << gem_caveats if MacOS.prefer_64_bit?
- return s
- end
-
- def gem_caveats; <<-EOS.undent
- When installing the postgres gem, including ARCHFLAGS is recommended:
- ARCHFLAGS="-arch x86_64" gem install pg
-
- To install gems without sudo, see the Homebrew documentation:
- https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Gems,-Eggs-and-Perl-Modules.md
- EOS
end
plist_options :manual => "postgres -D #{HOMEBREW_PREFIX}/var/postgres"