|
@ -3,13 +3,13 @@ |
|
|
# exit if a command fails |
|
|
# exit if a command fails |
|
|
set -e |
|
|
set -e |
|
|
|
|
|
|
|
|
# install ruby 1.9.1 |
|
|
|
|
|
apt-get update && apt-get install -y ruby ruby-dev build-essential sqlite3 libsqlite3-dev |
|
|
|
|
|
|
|
|
# install dependencies |
|
|
|
|
|
apt-get update && apt-get install -y build-essential sqlite3 libsqlite3-dev |
|
|
|
|
|
|
|
|
# install mailcatcher |
|
|
# install mailcatcher |
|
|
gem install mailcatcher --no-ri --no-rdoc |
|
|
|
|
|
|
|
|
gem install mailcatcher -v 0.5.12 --no-ri --no-rdoc |
|
|
|
|
|
|
|
|
# cleanup package manager |
|
|
# cleanup package manager |
|
|
apt-get remove --purge -y build-essential ruby-dev libsqlite3-dev && apt-get autoclean && apt-get clean |
|
|
|
|
|
|
|
|
apt-get remove --purge -y build-essential libsqlite3-dev && apt-get autoclean && apt-get clean |
|
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* |
|
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* |
|
|
|
|
|
|