Skip to content

Instantly share code, notes, and snippets.

@mauricio
Created June 27, 2012 15:15
Show Gist options
  • Select an option

  • Save mauricio/3004736 to your computer and use it in GitHub Desktop.

Select an option

Save mauricio/3004736 to your computer and use it in GitHub Desktop.

sudo apt-get install git-core curl

curl -L https://get.rvm.io | bash -s stable

depois que instalar o rvm fecha o console abre outra vez e roda

rvm requirements

ele vai dar uma lista lá do que tem que instalar é só rodar o comando que ele passa com sudo depois

rvm install ruby-1.9.3

enquanto ele estiver instalando o ruby, vai pra outro console

sudo apt-get install mysql-server libmysqlclient-dev

e quando ele terminar de instalar o ruby

rvm use 1.9.3

pronto

gem install rails mysql2 will_paginate

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