Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d5a0856

Browse files
committedJul 12, 2014
fix bootstrap scripts
1 parent 128d51e commit d5a0856

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
 

‎vagrant/bootstrap.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ echo Who am I? You are `whoami`.
55
echo Where am I? You are in `pwd`
66
echo I think my home is $HOME
77
echo export EDITOR=vim >> $HOME/.bashrc
8-
# Enable accessing Postgres from the host machin
8+
# Enable accessing Postgres from the host machine
99
echo "listen_addresses = '*'" | tee -a /var/pgsql/data/postgresql.conf
1010
echo host all all 0.0.0.0/0 trust | tee -a /var/pgsql/data/pg_hba.conf
1111
sudo su postgres -c 'pg_ctl stop -D /var/pgsql/data 2>&1'
1212
sudo su postgres -c 'pg_ctl start -D /var/pgsql/data 2>&1 &'
13+
su -c "ln -s /vagrant /home/vagrant/web" vagrant
1314
su -c "source /home/vagrant/web/vagrant/user-config.sh" vagrant

‎vagrant/user-config.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ source "$HOME/.rvm/scripts/rvm"
1414
[[ -s "$rvm_path/hooks/after_cd_bundle" ]] && chmod +x $rvm_path/hooks/after_cd_bundle
1515
rvm requirements
1616
rvm reload
17-
_RUBY_VERSION=ruby-2.1.0
17+
_RUBY_VERSION=ruby-2.1.2
1818
rvm install $_RUBY_VERSION
1919
rvm gemset create coderwall
2020
rvm use $_RUBY_VERSION --default

0 commit comments

Comments
 (0)
Failed to load comments.