Skip to content

Instantly share code, notes, and snippets.

@handersonbf
Created January 4, 2012 21:53
Show Gist options
  • Select an option

  • Save handersonbf/1562371 to your computer and use it in GitHub Desktop.

Select an option

Save handersonbf/1562371 to your computer and use it in GitHub Desktop.
RVM Install
Instalando libs dependencias...
sudo apt-get install libruby1.8 zlib1g-dev libssl-dev libreadline5-dev build-essential
Outras dependências...
sudo apt-get install git git-core curl gcc
Executar comando...
bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )
Adicionar no .bash_profile, acessando via nano ~/.bash_profile
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
Fechar e abrir o terminal ou
source ~/.rvm/scripts/rvm
$ rvm help
Instalando Ruby pela RVM
rvm install 1.9.2
Para usar
rvm 1.9.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment