Skip to content

Instantly share code, notes, and snippets.

@roman01la
Created June 4, 2014 20:44
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save roman01la/143b6c3aae53bfe2aae4 to your computer and use it in GitHub Desktop.
#!/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