File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -8,4 +8,5 @@ echo export EDITOR=vim >> $HOME/.bashrc
8
8
# Enable accessing Postgres from the host machin
9
9
echo " listen_addresses = '*'" | tee -a /var/pgsql/data/postgresql.conf
10
10
echo host all all 0.0.0.0/0 trust | tee -a /var/pgsql/data/pg_hba.conf
11
+ sudo su postgres -c ' pg_ctl restart -D /var/pgsql/data 2>&1 &'
11
12
su -c " source /home/vagrant/web/vagrant/user-config.sh" vagrant
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ source "$HOME/.rvm/scripts/rvm"
14
14
[[ -s " $rvm_path /hooks/after_cd_bundle" ]] && chmod +x $rvm_path /hooks/after_cd_bundle
15
15
rvm requirements
16
16
rvm reload
17
- _RUBY_VERSION=ruby-2.1.1
17
+ _RUBY_VERSION=ruby-2.1.0
18
18
rvm install $_RUBY_VERSION
19
19
rvm gemset create coderwall
20
20
rvm use $_RUBY_VERSION --default
@@ -23,5 +23,6 @@ cd $HOME/web
23
23
gem update --system && gem update bundler
24
24
bundle config --global jobs 3
25
25
bundle install
26
+ bundle exec rake db:create:all
26
27
bundle exec rake db:setup
27
28
bundle exec rake db:test:prepare
You can’t perform that action at this time.
0 commit comments