Created
June 4, 2014 20:44
-
-
Save roman01la/143b6c3aae53bfe2aae4 to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/bash | |
# Install curl if not found | |
if ! type "curl" > /dev/null; then | |
sudo apt-get update | |
sudo apt-get install curl -y | |
fi | |
# Install nvm | |
curl https://raw.githubusercontent.com/creationix/nvm/v0.7.0/install.sh | sh | |
[ -s "/home/vagrant/.nvm/nvm.sh" ] && . "/home/vagrant/.nvm/nvm.sh" | |
# Install Node.js v0.10.28 | |
nvm install 0.10.28 | |
# Install Grunt & Bower CLI tools | |
npm install -g grunt-cli bower | |
# Install RVM | |
curl -L https://get.rvm.io | bash -s stable | |
source ~/.rvm/scripts/rvm | |
echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc | |
# Install Ruby | |
rvm install 1.9.3 | |
rvm use 1.9.3 --default | |
echo "gem: --no-ri --no-rdoc" > ~/.gemrc | |
# Install Sass tools | |
gem install sass compass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment