Skip to content

Commit ec2aec8

Browse files
committed
Added common dependencies that are needed by pgand other Gems
`vagrant destroy -f` and `vagrant up`
1 parent 83bf7a7 commit ec2aec8

File tree

1 file changed

+59
-2
lines changed

1 file changed

+59
-2
lines changed

vagrant/bootstrap.sh

Lines changed: 59 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,70 @@
11
#!/bin/bash -x
22
export DEBIAN_FRONTEND=noninteractive
33

4+
apt-get -y install ack-grep
5+
apt-get -y install autoconf
6+
apt-get -y install automake
7+
apt-get -y install bash
8+
apt-get -y install bison
9+
apt-get -y install build-essential
10+
apt-get -y install bzip2
11+
apt-get -y install ca-certificates
12+
apt-get -y install curl
13+
apt-get -y install g++
14+
apt-get -y install gawk
15+
apt-get -y install gcc
16+
apt-get -y install git-core
17+
apt-get -y install htop
18+
apt-get -y install imagemagick
19+
apt-get -y install iotop
20+
apt-get -y install libc6-dev
21+
apt-get -y install libcurl3
22+
apt-get -y install libcurl3-dev
23+
apt-get -y install libcurl3-gnutls
24+
apt-get -y install libcurl4-openssl-dev
25+
apt-get -y install libffi-dev
26+
apt-get -y install libgdbm-dev
27+
apt-get -y install libmagickcore-dev
28+
apt-get -y install libmagickwand-dev
29+
apt-get -y install libncurses5-dev
30+
apt-get -y install libopenssl-ruby
31+
apt-get -y install libpq-dev
32+
apt-get -y install libreadline6
33+
apt-get -y install libreadline6-dev
34+
apt-get -y install libsqlite3-0
35+
apt-get -y install libsqlite3-dev
36+
apt-get -y install libssl-dev
37+
apt-get -y install libtool
38+
apt-get -y install libxml2
39+
apt-get -y install libxml2-dev
40+
apt-get -y install libxslt-dev
41+
apt-get -y install libxslt1-dev
42+
apt-get -y install libyaml-dev
43+
apt-get -y install make
44+
apt-get -y install nfs-common
45+
apt-get -y install openssl
46+
apt-get -y install patch
47+
apt-get -y install pep8
48+
apt-get -y install pkg-config
49+
apt-get -y install portmap
50+
apt-get -y install python-dev
51+
apt-get -y install python-setuptools
52+
apt-get -y install sqlite3
53+
apt-get -y install tcl8.5
54+
apt-get -y install tmux
55+
apt-get -y install vim
56+
apt-get -y install zlib1g
57+
apt-get -y install zlib1g-dev
58+
459
# Ensure the database is started
560
su -c '/usr/bin/pg_ctl start -l /var/pgsql/data/log/logfile -D /var/pgsql/data' postgres
661

762
su - vagrant <<-'EOF'
863
cd ~/web
964
bundle check || bundle install
1065
# Force the app to use the internal Postgres port number and ignore .env
11-
DEV_POSTGRES_PORT=5432 bundle exec rake db:migrate
12-
DEV_POSTGRES_PORT=5432 bundle exec rake db:test:prepare
66+
bundle exec rake db:migrate
67+
bundle exec rake db:test:prepare
68+
69+
wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh
1370
EOF

0 commit comments

Comments
 (0)