Sha256: 9ca7cff0bf600472ae67115e1faa618ee2a50d8aff3ddc4b11f086d68bd876b7
Contents?: true
Size: 511 Bytes
Versions: 1
Compression:
Stored size: 511 Bytes
Contents
module BinInstall module Postgres def self.install puts 'Installing PostgreSQL...'.white Brew.install_or_upgrade('postgresql') create_default_user end def self.install! puts 'Installing PostgreSQL...'.white Brew.install_or_upgrade!('postgresql') create_default_user! end def self.create_default_user system('createuser -s postgres') end def self.create_default_user! BinInstall.system!('createuser -s postgres') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bin_install-0.0.3 | lib/bin_install/postgres.rb |