Created
November 15, 2013 05:02
-
-
Save es/7479369 to your computer and use it in GitHub Desktop.
Build script for a new dev machine when working with ruby.
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
#!/usr/bin/env bash | |
apt-get update | |
apt-get install -y nginx vim make g++ postgresql-9.1 curl libxslt-dev libxml2-dev libsqlite3-dev | |
\curl -L https://get.rvm.io | bash -s stable | |
source /usr/local/rvm/scripts/rvm | |
rvm requirements | |
rvm install ruby | |
rvm use ruby --default | |
rvm rubygems current | |
gem install rails | |
gem install execjs | |
wget http://nodejs.org/dist/v0.10.21/node-v0.10.21.tar.gz | |
tar -xvf node-v0.10.21.tar.gz | |
rm node-v0.10.21.tar.gz | |
cd node-v0.10.21/ | |
./configure | |
make | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment