increase required Postgres version to 9.2
This commit is contained in:
parent
7d5b5533c4
commit
7c98b16bfd
|
@ -82,11 +82,11 @@ Vagrant version 1.1.2. With this Vagrantfile:
|
||||||
echo "gem: --no-document" >> /etc/gemrc
|
echo "gem: --no-document" >> /etc/gemrc
|
||||||
su - vagrant -c "echo 'gem: --no-document' >> ~/.gemrc"
|
su - vagrant -c "echo 'gem: --no-document' >> ~/.gemrc"
|
||||||
|
|
||||||
## Postgres 9.1
|
## Postgres 9.2
|
||||||
|
|
||||||
Configure so that the vagrant user doesn't need to provide username and password.
|
Configure so that the vagrant user doesn't need to provide username and password.
|
||||||
|
|
||||||
apt-get -yqq install postgresql postgresql-contrib-9.1 libpq-dev postgresql-server-dev-9.1
|
apt-get -yqq install postgresql postgresql-contrib-9.3 libpq-dev postgresql-server-dev-9.3
|
||||||
su - postgres
|
su - postgres
|
||||||
createuser --createdb --superuser -Upostgres vagrant
|
createuser --createdb --superuser -Upostgres vagrant
|
||||||
psql -c "ALTER USER vagrant WITH PASSWORD 'password';"
|
psql -c "ALTER USER vagrant WITH PASSWORD 'password';"
|
||||||
|
|
|
@ -20,7 +20,7 @@ Hosting Rails applications is complicated. Even if you already have Postgres, Re
|
||||||
|
|
||||||
### Software Requirements
|
### Software Requirements
|
||||||
|
|
||||||
- [Postgres 9.1+](http://www.postgresql.org/download/)
|
- [Postgres 9.2+](http://www.postgresql.org/download/)
|
||||||
- [Redis 2.6+](http://redis.io/download)
|
- [Redis 2.6+](http://redis.io/download)
|
||||||
- [Ruby 2.0+](http://www.ruby-lang.org/en/downloads/) (we recommend 2.0.0-p353 or higher)
|
- [Ruby 2.0+](http://www.ruby-lang.org/en/downloads/) (we recommend 2.0.0-p353 or higher)
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ something like:
|
||||||
`ruby 2.0.0p195 (2013-05-14 revision 40734) [x86_64-linux]`
|
`ruby 2.0.0p195 (2013-05-14 revision 40734) [x86_64-linux]`
|
||||||
|
|
||||||
|
|
||||||
1. Are you on Postgres 9.1 or later with HSTORE enabled?
|
1. Are you on Postgres 9.2 or later with HSTORE enabled?
|
||||||
|
|
||||||
You can check your postgres version by typing `psql --version`. To see if
|
You can check your postgres version by typing `psql --version`. To see if
|
||||||
hstore is installed, open a session to postgres and type `\dx` and see if
|
hstore is installed, open a session to postgres and type `\dx` and see if
|
||||||
|
|
|
@ -10,7 +10,7 @@ reaching out to the community for help:
|
||||||
`ruby -v` and checking the response.
|
`ruby -v` and checking the response.
|
||||||
|
|
||||||
|
|
||||||
2. Are you on Postgres 9.1 or later with HSTORE enabled?
|
2. Are you on Postgres 9.2 or later with HSTORE enabled?
|
||||||
|
|
||||||
You can check your postgres version by typing `psql --version`. To see if hstore is
|
You can check your postgres version by typing `psql --version`. To see if hstore is
|
||||||
installed, open a session to postgres and type `\dx` and see if hstore is listed.
|
installed, open a session to postgres and type `\dx` and see if hstore is listed.
|
||||||
|
|
Loading…
Reference in New Issue