Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,10 @@ echo Who am I? You are `whoami`.
5
5
echo Where am I? You are in ` pwd`
6
6
echo I think my home is $HOME
7
7
echo export EDITOR=vim >> $HOME /.bashrc
8
- # Enable accessing Postgres from the host machin
8
+ # Enable accessing Postgres from the host machine
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
11
sudo su postgres -c ' pg_ctl stop -D /var/pgsql/data 2>&1'
12
12
sudo su postgres -c ' pg_ctl start -D /var/pgsql/data 2>&1 &'
13
+ su -c " ln -s /vagrant /home/vagrant/web" vagrant
13
14
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.0
17
+ _RUBY_VERSION=ruby-2.1.2
18
18
rvm install $_RUBY_VERSION
19
19
rvm gemset create coderwall
20
20
rvm use $_RUBY_VERSION --default
0 commit comments