Created
May 8, 2015 23:11
-
-
Save viniciusalonso/7ddcb9df2c372321ff97 to your computer and use it in GitHub Desktop.
Instalando ruby e rails
This file contains 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
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