Last active
August 29, 2015 14:17
-
-
Save lorello/6dcf873aebdc599176ef to your computer and use it in GitHub Desktop.
octohost cookbook setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apt-add-repository ppa:brightbox/ruby-ng | |
| apt-get install git curl vim unattended-upgrades build-essential ruby2.1 ruby-switch ruby2.1-dev libxml2-dev libxslt-dev zlib1g-dev | |
| ruby-switch --set ruby2.1 | |
| gem install bundle rake | |
| # libgecode 4.x broken on trusty | |
| apt-get install -y -q libqtcore4 libqtgui4 libqt4-dev libboost-dev | |
| wget "http://us.archive.ubuntu.com/ubuntu/pool/universe/g/gecode/libgecode30_3.7.1-3_amd64.deb" | |
| wget "http://us.archive.ubuntu.com/ubuntu/pool/universe/g/gecode/libgecode-dev_3.7.1-3_amd64.deb" | |
| wget "http://us.archive.ubuntu.com/ubuntu/pool/universe/g/gecode/libgecodegist30_3.7.1-3_amd64.deb" | |
| wget "http://us.archive.ubuntu.com/ubuntu/pool/universe/g/gecode/libgecodeflatzinc30_3.7.1-3_amd64.deb" | |
| dpkg -i libgecode30_3.7.1-3_amd64.deb libgecodegist30_3.7.1-3_amd64.deb libgecodeflatzinc30_3.7.1-3_amd64.deb libgecode-dev_3.7.1-3_amd64.deb | |
| git clone https://github.com/octohost/octohost-cookbook | |
| cd octohost-cookbook | |
| env USE_SYSTEM_GECODE=1 bundle install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment