Skip to content

Instantly share code, notes, and snippets.

@SgtPooki
Created June 3, 2014 22:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SgtPooki/1c7c480626258957802b to your computer and use it in GitHub Desktop.
Save SgtPooki/1c7c480626258957802b to your computer and use it in GitHub Desktop.
nvm / rvm provisioning script
#!/bin/bash
sudo apt-get update
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install -y git curl python-software-properties libcurl3 libcurl3-gnutls libcurl4-openssl-dev
curl -sSL https://get.rvm.io | bash -s stable --ruby
source /home/vagrant/.rvm/scripts/rvm
#wget -qO- https://raw.github.com/creationix/nvm/master/install.sh | sh
sudo su vagrant -c "wget -qO- https://raw.github.com/creationix/nvm/master/install.sh | sh"
ls -lha /home/vagrant/
source /home/vagrant/.profile #Ensure ENV vars are loaded
nvm install 0.10
nvm alias default 0.10
npm install -g grunt-cli
gem install compass
sudo wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh
cd /var/www/
npm install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment