Last active
August 29, 2015 14:03
-
-
Save onmyway133/356bdff6e09d9c74289a to your computer and use it in GitHub Desktop.
Install rmv
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
// Install rvm | |
\curl -sSL https://get.rvm.io | bash -s stable --ruby | |
// tail of the .zshrc | |
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting | |
source $ZSH/oh-my-zsh.sh | |
// .zlogin | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* | |
// zsh + iTerm2 | |
rvm get stable --auto-dotfiles | |
===== | |
// Uninstall rvm | |
rvm implode | |
gem uninstall rvm | |
#!/bin/bash | |
/usr/bin/sudo rm -rf $HOME/.rvm $HOME/.rvmrc /etc/rvmrc /etc/profile.d/rvm.sh /usr/local/rvm /usr/local/bin/rvm | |
/usr/bin/sudo /usr/sbin/groupdel rvm | |
/bin/echo "RVM is removed. Please check all .bashrc|.bash_profile|.profile|.zshrc for RVM source lines and delete | |
or comment out if this was a Per-User installation." | |
==== | |
// Usage | |
rvm list | |
rvm use 2.0.0-p481 --default | |
gem install rails | |
gem install homesick | |
rvm use system | |
which ruby |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment