Skip to content

Instantly share code, notes, and snippets.

@gbpereira
Last active October 17, 2016 00:06
Show Gist options
  • Save gbpereira/5ba7b14c44208a3e38a3 to your computer and use it in GitHub Desktop.
Save gbpereira/5ba7b14c44208a3e38a3 to your computer and use it in GitHub Desktop.
Comandos para setup do ruby e do rails

ubuntu 14.04 lts

Dependências

sudo apt-get install gawk g++ libreadline6-dev zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 autoconf libgdbm-dev libncurses5-dev automake libtool bison libffi-dev libxslt-dev libxml2-dev zlib1g-dev libgmp-dev build-essential

Instalar rvm

gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3

\curl -sSL https://get.rvm.io | bash

Instalar ruby e criar gemset

rvm install 2.2.3
rvm use 2.2.3
rvm gemset use 2.2.3@seccomp --create
gem install rails -v '4.2.3'

Um editor de texto avançado para facilitar a navegação entre os arquivos do projeto. Os editores mais utilizados são o Sublime Text 2 e o Atom.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment