|
@ -3,11 +3,11 @@ |
|
|
# exit if a command fails |
|
|
# exit if a command fails |
|
|
set -e |
|
|
set -e |
|
|
|
|
|
|
|
|
# install ruby 2.1 |
|
|
|
|
|
|
|
|
# install ruby 1.9.1 |
|
|
apt-get update && apt-get install -y ruby ruby-dev build-essential |
|
|
apt-get update && apt-get install -y ruby ruby-dev build-essential |
|
|
|
|
|
|
|
|
# install jekyll & bundler (therubyracer needed for coffeescript support) |
|
|
|
|
|
gem install jekyll bundler therubyracer --no-ri --no-rdoc |
|
|
|
|
|
|
|
|
# install jekyll & bundler (therubyracer needed for coffeescript support, rouge for highlightning) |
|
|
|
|
|
gem install jekyll bundler therubyracer rouge --no-ri --no-rdoc |
|
|
|
|
|
|
|
|
# cleanup package manager |
|
|
# cleanup package manager |
|
|
apt-get remove --purge -y build-essential ruby-dev && apt-get autoclean && apt-get clean |
|
|
apt-get remove --purge -y build-essential ruby-dev && apt-get autoclean && apt-get clean |
|
|