Skip to content

Instantly share code, notes, and snippets.

@viniciusalonso
Created May 8, 2015 23:11
Show Gist options
  • Save viniciusalonso/7ddcb9df2c372321ff97 to your computer and use it in GitHub Desktop.
Save viniciusalonso/7ddcb9df2c372321ff97 to your computer and use it in GitHub Desktop.
Instalando ruby e rails
sudo apt-get update
sudo apt-get install curl nodejs
# Para instalar o rvm
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
\curl -sSL https://get.rvm.io | bash -s stable
# Escrever isso no arquivo ~/.bashrc
source ~/.rvm/scripts/rvm
rvm requirements
# Instalando o ruby
rvm install ruby-2.2.0
# Escrever essas linhas no arquivo ~/.gemrc
:sources:
- http://rubygems.org
- http://gems.github.com
:verbose: true
# Instalando o rails
gem install rails
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment