Joined October 2013
·
Posted to
Setting up a brand new Postgres powered Ruby & Rails Development Environment with Vagrant
over 1 year
ago
Correct commands >
$ sudo mkdir -p /usr/local/pgsql/data
$ sudo chown postgres:postgres /usr/local/pgsql/data
$ sudo su postgres
$ /usr/lib/postgresql/9.1/bin/initdb -D /usr/local/pgsql/data
Also,
creatuser -s vagrant on Postgres 9.3
Achievements
88 Karma
0 Total ProTip Views
Mongoose 3
Have at least three original repos where Ruby is the dominant language
Mongoose
Have at least one original repo where Ruby is the dominant language
Komodo Dragon
Have at least one original repo where Java is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Forked
Have a project valued enough to be forked by someone else
Charity
Fork and commit to someone's open source project in need
T-Rex
Have at least one original repo where C is the dominant language
Epidexipteryx 3
Have at least three original repo where C++ is the dominant language
Epidexipteryx
Have at least one original repo where C++ is the dominant language
$ sudo apt-get install curl
$ \curl -sSL https://get.rvm.io | bash
$ source /home/vagrant/.rvm/scripts/rvm