Skip to content

Instantly share code, notes, and snippets.

@vlpeng
Created October 27, 2011 15:24
Show Gist options
  • Save vlpeng/1319867 to your computer and use it in GitHub Desktop.
Save vlpeng/1319867 to your computer and use it in GitHub Desktop.
RVM Ruby: RVM on MBA and uninstall all Ruby Gems
#RVM on Macbook air:
sudo bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )
source .bash_profile
type rvm | head -1
rvm -v
rvm requirements
rvm install 1.9.2
rvm gemset create rails311
rvm gemset use rails311
gem install rails bundle rake --no-rdoc --no-ri
rvm use ruby-1.9.2-p290@rails311 --default
#How to uninstall all local gem:
gem list | cut -d" " -f1 | xargs gem uninstall -aIx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment