Created
October 27, 2011 15:24
-
-
Save vlpeng/1319867 to your computer and use it in GitHub Desktop.
RVM Ruby: RVM on MBA and uninstall all Ruby Gems
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
#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